Re: [R] High resolution figures for a paper?

2008-06-02 Thread zhijie zhang
Thanks for the above mentioned methods. I will try them one by one.
Thanks again.


On 6/3/08, Sarah Goslee <[EMAIL PROTECTED]> wrote:
>
> The production of "publication-quality graphics" has been discussed at
> great length on R-sig-eco over the past week or so. The archive is
> available here:
> https://stat.ethz.ch/pipermail/r-sig-ecology/2008-May/thread.html
> and the thread is very near the bottom. Very detailed recommendations
> have been provided. (Also see the past two days, which are not of
> course in the May archive.)
>
> Sarah
>
> On Mon, Jun 2, 2008 at 11:12 AM, zhijie zhang <[EMAIL PROTECTED]> wrote:
> > Dear Rusers,
> >  My manuscript has been conditionally accepted recently. The problem to
> > generate the high  resolution figures in R for the manuscript cannot be
> > solved by me.
> > The journal editor ask me to generate the figures with a minimum
> resolution
> > of 500 dpi. I have tried the *menu-driven method* to save the figures as
> > JPEG (100% printed quality), but the results seem not to be very good. I
> > have submitted the generated figures twice using the above-mentioned
> method,
> > but the Editor think the resolution is still very low.
> >  Finally, i used the Photoshop to check the figure. It seems that its
> > resolution for JPEG (100% printed quality) is about 72dpi.
> >  *Does anybody know a better method to save a figure with user-defined
> > resolution in R software, especially high resolution? Could u please show
> me
> > an example if possible?*
> >  I hope to save the figures as TIFF/JPEG format at 1000 dpi.
> >  Thanks a lot.
>
> --
> Sarah Goslee
> http://www.functionaldiversity.org
>



-- 
With Kind Regards,

oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/
:
[***]
Zhi Jie,Zhang ,PHD
Tel:+86-21-54237149
Dept. of Epidemiology,School of Public Health,Fudan University
Address:No. 138 Yi Xue Yuan Road,Shanghai,China
Postcode:200032
Email:[EMAIL PROTECTED] <[EMAIL PROTECTED]>
Website: www.statABC.com
[***]
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/
:

[[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.


Re: [R] High resolution figures for a paper?

2008-06-02 Thread Duncan Murdoch

On 6/2/2008 11:12 AM, zhijie zhang wrote:

Dear Rusers,
  My manuscript has been conditionally accepted recently. The problem to
generate the high  resolution figures in R for the manuscript cannot be
solved by me.
The journal editor ask me to generate the figures with a minimum resolution
of 500 dpi. I have tried the *menu-driven method* to save the figures as
JPEG (100% printed quality), but the results seem not to be very good. I
have submitted the generated figures twice using the above-mentioned method,
but the Editor think the resolution is still very low.
  Finally, i used the Photoshop to check the figure. It seems that its
resolution for JPEG (100% printed quality) is about 72dpi.
  *Does anybody know a better method to save a figure with user-defined
resolution in R software, especially high resolution? Could u please show me
an example if possible?*
 I hope to save the figures as TIFF/JPEG format at 1000 dpi.
 Thanks a lot.


Don't use the menu, produce the figure directly.  I would recommend 
against using TIFF or JPEG; a vector format like PDF is much easier. 
However, if you really want one of those, open the device explicitly. 
For example,


jpeg("test.jpg", width=5, height=5, units="in", res=500)
plot(rnorm(1000))
dev.off()

This will create a very big file, 2500 by 2500 pixels, meant to be 
displayed as a 5 inch by 5 inch figure.


Duncan Murdoch

__
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.


Re: [R] High resolution figures for a paper?

2008-06-02 Thread Sarah Goslee
The production of "publication-quality graphics" has been discussed at
great length on R-sig-eco over the past week or so. The archive is
available here:
https://stat.ethz.ch/pipermail/r-sig-ecology/2008-May/thread.html
and the thread is very near the bottom. Very detailed recommendations
have been provided. (Also see the past two days, which are not of
course in the May archive.)

Sarah

On Mon, Jun 2, 2008 at 11:12 AM, zhijie zhang <[EMAIL PROTECTED]> wrote:
> Dear Rusers,
>  My manuscript has been conditionally accepted recently. The problem to
> generate the high  resolution figures in R for the manuscript cannot be
> solved by me.
> The journal editor ask me to generate the figures with a minimum resolution
> of 500 dpi. I have tried the *menu-driven method* to save the figures as
> JPEG (100% printed quality), but the results seem not to be very good. I
> have submitted the generated figures twice using the above-mentioned method,
> but the Editor think the resolution is still very low.
>  Finally, i used the Photoshop to check the figure. It seems that its
> resolution for JPEG (100% printed quality) is about 72dpi.
>  *Does anybody know a better method to save a figure with user-defined
> resolution in R software, especially high resolution? Could u please show me
> an example if possible?*
>  I hope to save the figures as TIFF/JPEG format at 1000 dpi.
>  Thanks a lot.

-- 
Sarah Goslee
http://www.functionaldiversity.org

__
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.