[ncl-talk] eps plot rotated 90deg

Tabish Ansari tabishumaransari at gmail.com
Thu Mar 26 08:45:25 MDT 2020


Hi

This generally happens when you scale the viewport (vp) to higher than 1.0,
together with gsnMaximise. For example if you've set the X and Y viewport
to 2.0 and 1.5, you can scale them down in the same proportion to 1.0 and
0.75 to preserve the aspect ratio of the plot and disable gsnMaximize. You
should be able to get the plot with correct orientation. You may then have
to set the font heights accordingly.

If you don't want to change the viewport scaling, you may consider
outputting as eps and then use:
"epsffit -r bounding box values filename.eps filename_r.eps" to obtain a
rotated eps and then use epstopdf to convert to PDF.

Cheers,

Tabish


*Tabish U Ansari*

*Postdoctoral Researcher *

*Centre for Climate and Air Pollution Studies (C-CAPS)*
*School of Physics, NUI-Galway**, Ireland*
*ResearchGate: https://www.researchgate.net/profile/Tabish_Ansari
<https://www.researchgate.net/profile/Tabish_Ansari>*


On Thu, 26 Mar 2020 at 08:33, Jian Zheng via ncl-talk <ncl-talk at ucar.edu>
wrote:

> Hi all,
>
> When I submitted some eps files created by NCL to the manuscript system of
> Clim Dyn, the figures were rotated 90 degrees in the final pdf file. These
> figures look normal in Word or MAC Preview. I didn't set any 'max'
> resources. And I have tried set gsnPaperOrientation = "portrait", but it
> didn't work. Does anyone have similar experiences or give some suggestions?
>
> Sincerely,
> Jian
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200326/8f1fd8fb/attachment.html>


More information about the ncl-talk mailing list