[ncl-talk] saving high resolution plots for publications

Barry Lynn barry.h.lynn at gmail.com
Fri Jul 7 04:54:14 MDT 2017


Guido:

Thank you for the tip.

How do set the NCL script to output in EPS format?

When I use PDF, I find that the resolution isn't always high enough
(especially when I have very small map panels).

When I blow up the screen, I lose resolution.  This doesn't happen with png.

Barry

On Fri, Jul 7, 2017 at 1:17 PM, Guido Cioni <guidocioni at gmail.com> wrote:

> I’m going to stop you right there. :)
>
> If you’re goal is to produce figures for publications then vector formats
> like PDF or EPS are preferable (and supported by NCL). They will scale
> perfectly regardless of a single-column/double-column layout and won’t
> pixelate. In fact, images that contain lines/points/shapes and combination
> of the latter ones should *always* be reproduced in vector format.
>
> You can use a raster format (PNG, JPEG) only if the image/data you’re
> publishing is already on raster format (e.g. photos taken with cameras,
> satellite pictures…).
>
> Note that sometimes a PNG with a decent resolution for publication will be
> larger than a PDF with the same image. Please (!!) don’t use PNG for
> publications as long as they are not strictly necessary :) :)
>
> Cheers
>
> Il giorno 07 lug 2017, alle ore 10:51, Sri Nandini <snandini at marum.de> ha
> scritto:
>
> Hello
>
> Using NCL, i tried the 2 methods for saving my figures as png for
> publications.
> 1)The default method   wks =  gsn_open_wks("png", "my figure")
>
> And trying to save as 600dpi/optimal resolution
> 2)  wks_type = "png"
>    wks_type at wkWidth   =  2500
>    wks_type at wkHeight  =  2500
> wks =  gsn_open_wks("png", "my figure")
>
> Surprisingly the method 1) yields better sharper resolution figure then
> method 2).
> Could someone explain why?
>
> Method 3) convert -density 300 (or 600) inputfile.png outfile.png yielded
> no difference when performed on output of method 1).
>
> Any advice would be greatly appreciated.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170707/5e737cb4/attachment.html 


More information about the ncl-talk mailing list