[R] About print a label in plot

Julian Burgos jmburgos at u.washington.edu
Fri Nov 16 18:55:01 CET 2007

Hey Allen,

Again, if you don't tell us what kind of object 'Disease.FL' is, it will 
be difficult for us to help you.  As I told you, plot() is a generic 
function and its behaviour will depend on the type of object you pass to 
it.  For example, if 'Disease.FL' is an object of class lm (i.e. the 
result of a linear model), then when you do plot(Disease.FL) you are 
actually calling the plot.lm() function.  There are many different plot 
functions with different arguments, and which one you are using depends 
on what kind of object is 'Disease.FL'.  If you don't know the class of 
the object, you can do this:



affy snp wrote:
> Dear list,
> Hello! I have a question about how to print a label in the plot.
> I am using the following code:
> <pdf("mel4_chr3_11cancer_cghFLasso.pdf", height=6,
> width=5);plot(Disease.FL, index=i, type="Single",main="Plot of
> Labels");dev.off();
> But "Plot of Labels" has not been printed. Any suggestions?
> Thanks a lot!
>       Allen
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Julian M. Burgos

Fisheries Acoustics Research Lab
School of Aquatic and Fishery Science
University of Washington

1122 NE Boat Street
Seattle, WA  98105 

Phone: 206-221-6864

More information about the R-help mailing list