<div dir="ltr"><div class="gmail_default" style="font-size:small">Try setting gsnPaperOrientation with the "mpres" resources and not the workstation resources.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I know this doesn't make a lot of sense, but it's when the plot is being created that it needs to know that the paper is oriented one way or another.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 4, 2015 at 12:34 AM, Sebastian Otarola-Bustos <span dir="ltr"><<a href="mailto:Sebastian.F.Otarola-Bustos.1@nd.edu" target="_blank">Sebastian.F.Otarola-Bustos.1@nd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All, I was doing a gif animation in .png format, and I was able to set the width and the height, so my plots were ok. But now I'm trying to do the same with .ps format or .pdf, and I'm having some troubles. It's rotated, and the command, wks_type@gsnPaperOrientation = "portrait" is not recognized. Any suggestion? <br>Any help would be really appreciated, below you can see what I mentioned to you from my code.<br><br><div> <font face="garamond, serif">wks_type = "ps"</font></div><div><font face="garamond, serif"> ;wks_type@wkWidth = 1700</font></div><div><font face="garamond, serif"> ;wks_type@wkHeight = 1536</font></div><div><font face="garamond, serif"> wks_type@gsnPaperOrientation = "portrait"</font></div><div><font face="garamond, serif"><br></font></div><div><font face="garamond, serif"> wks = gsn_open_wks(wks_type,"animate"+sprinti("%03i",it))</font></div><div><font face="garamond, serif"><br></font></div><div><font face="garamond, serif"> mpid = gsn_csm_map(wks,mpres)</font></div><div><font face="garamond, serif"> hnid = gsn_csm_contour(wks,hgt300(:,:),hres)</font></div><div><font face="garamond, serif"> T_300 = gsn_csm_contour(wks,T300,Tres)</font></div><div><font face="garamond, serif"> V_300 =gsn_csm_vector(wks,U300,V300,Vres)</font></div><div><font face="garamond, serif"><br></font></div><div><font face="garamond, serif"> ;Overlaps maps in order</font></div><div><font face="garamond, serif"> overlay(mpid,hnid)</font></div><div><font face="garamond, serif"> overlay(mpid,T_300)</font></div><div><br>All the best, <br>Sebastián.</div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>