[R] Odp: Open two graphic devices at a time

MatzeK kahm at rheinahrcampus.de
Wed Jul 25 16:41:45 CEST 2007


@Petr
Hello,

now I tried it with savePlot(). This is a very easy way. Now I don't need
two devices.

Thanks a lot
MatzeK 



Petr Pikal wrote:
> 
> Hi
> 
> far from beeing an expert in graphic devices AFAIK you can either see your 
> graph on screen (x11 device) or to open other device (pdf, png, ...) and 
> to issue plotting commands to that device. Do not forget
> 
> dev.off()
> 
> after your plot is finished.
> 
> Or you can save your plot by menu command File/Save as... (on Windows), 
> which you did not specify.
> 
> Regards
> Petr
> 
> r-help-bounces at stat.math.ethz.ch napsal dne 25.07.2007 15:55:12:
> 
>> 
>> Hello,
>> 
>> I would like to export my plots to harddisk (jpeg or pdf). I know that 
> could
>> be done with pdf(...) and jpeg(...).
>> But my problem is that if I open e.g. the pdf device my plot does not 
> appear
>> on the screen. If I plot to the x11 device and try to export later the
>> outputfile is damaged.
>> How can I manage that problem? I want to see my plots on screen and want 
> to
>> export them. Is there a chance to open two different devices, or is the 
> only
>> way printing twice. One time to x11() and one time to pdf()?
>> 
>> Thanks a lot for any idea
>> -- 
>> View this message in context: 
> http://www.nabble.com/Open-two-graphic-devices-
>> at-a-time-tf4142321.html#a11783029
>> Sent from the R help mailing list archive at Nabble.com.
>> 
>> ______________________________________________
>> R-help at stat.math.ethz.ch 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 stat.math.ethz.ch 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/Open-two-graphic-devices-at-a-time-tf4142321.html#a11783905
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list