[R] show plot
R. Michael Weylandt <michael.weylandt@gmail.com>
michael.weylandt at gmail.com
Fri Jan 20 14:34:26 CET 2012
Use layout() to put multiple plots on a single page. (Note that with >50k plots you'll want layout() and multiple pages.)
Michael
On Jan 20, 2012, at 6:46 AM, Petr PIKAL <petr.pikal at precheza.cz> wrote:
>>
>> Thank you very much,
>>
>> but in *.pdf I can see 1 plot, may I ask you another question?
>> How can see more than one in each page?
>
> You just press page down or up for moving through pdf document.
>
> But seriously, try it yourself
>
> lll <- split(rnorm(100) , rep(1:10, each=10))
> pdf("test.pdf")
> for (i in 1:10)
> {
> plot(lll[[i]])
> }
> dev.off()
>
> R comes usually with quite extensive set of help for every function.
>
> see
> ?pdf
>
> onefile
> logical: if true (the default) allow multiple figures in one file. If
> false, generate a file with name containing the page number for each page.
> Defaults to TRUE, and forced to true if file is a pipe.
>
> Regards
> Petr
>
>
>>
>> Best regards,
>> Khodakarim
>
>> On Fri, Jan 20, 2012 at 11:57 AM, Petr PIKAL <petr.pikal at precheza.cz>
> wrote:
>> Huh
>>
>> If you spend only 10 seconds inspecting one plot you will need about 150
>> hours for that task. I would recommend to reconsider this issue for your
>> own sanity.
>>
>> Anyway you can save them either to separate files or in multi page PDF
>> document although I do not know if there is some limit in pdf pages. I
>> have never seen any single pdf document with more than several hundred
>> pages.
>>
>> Regards
>> Petr
>>
>>
>>>
>>> Dear All
>>>
>>> I have 54000 plots in R,
>>>
>>> How can I observe them?
>>>
>>> If I‌ have to save them one-by-one?
>>>
>>> Soheila
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> 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.
>
> ______________________________________________
> 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.
More information about the R-help
mailing list