Dear list,

I have a question about using plot().

I tried the code:
<pdf("mel_chr_all_13cancer_cghFLasso_all.pdf", height=6, width=11);plot(
Disease.FL, index=1:4, type="All");dev.off();
and it went through well which outputed 4 plots for 4 samples in one page.

But if I increase the numbers of plots(samples) which I want, saying to 11,
<pdf("mel_chr_all_13cancer_cghFLasso_all.pdf", height=6, width=11);plot(
Disease.FL, index=1:11, type="All");dev.off();
then I got an error message as:
Error in segments((1:n)[y < 0], jp, (1:n)[y < 0], jp + y[y < 0], col =
downcol) :invalid first argument

I suspect that it has sth to do with the maxium plots which can be outputed
on one page, which means less or equal to 4 will be fine but beyond that
there will be a problem. I have tried the number 5 yet.

Is there a way that I could specify that the plots can be put on multiple
pages with 4 plots per one.

Thank you very much for your help!

Best,
      Allen

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to