Re: [R] Basic: setting resolution and size of an R graphic

2005-10-25 Thread Dr. med. Peter Robinson
Thanks Marc and Jim for the tips. The PDF file that I create with R looks about the same as the one you created. However, I need to get the graphic to be a certain size (300 pixels wide). I have been using the ImageMagick program to do so for other graphics: convert test.pdf -resize 300x300

Re: [R] Basic: setting resolution and size of an R graphic

2005-10-25 Thread Marc Schwartz
If you specifically need the plot to have a dimension measured in pixels, then you need to use a bitmapped format such as png and specify the output to be the size you require: png(test.png, width = 300, height = 300, ...) DoYourPlotHere() dev.off() Do this directly using the png() device,

Re: [R] Basic: setting resolution and size of an R graphic

2005-10-25 Thread Romain Francois
Le 25.10.2005 14:59, Marc Schwartz a écrit : If you specifically need the plot to have a dimension measured in pixels, then you need to use a bitmapped format such as png and specify the output to be the size you require: png(test.png, width = 300, height = 300, ...) DoYourPlotHere()

[R] Basic: setting resolution and size of an R graphic

2005-10-24 Thread Dr. med. Peter Robinson
Dear List, I am sorry if this perhaps a too basic question, but I have not found an answer in Google or in the R help system. I am trying to use R to do a very simple analysis of some data (RT-PCR and Western analysis) with a T-test and to plot the results as a histogram with error bars. (I have

Re: [R] Basic: setting resolution and size of an R graphic

2005-10-24 Thread Marc Schwartz (via MN)
On Mon, 2005-10-24 at 22:32 +0200, Dr. med. Peter Robinson wrote: Dear List, I am sorry if this perhaps a too basic question, but I have not found an answer in Google or in the R help system. I am trying to use R to do a very simple analysis of some data (RT-PCR and Western analysis) with a