[ncl-talk] PDF plot to big and rotated in 90 degrees.

Sebastian Otarola-Bustos Sebastian.F.Otarola-Bustos.1 at nd.edu
Tue Aug 4 00:34:14 MDT 2015


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 at gsnPaperOrientation  = "portrait"  is not
recognized. Any suggestion?
Any help would be really appreciated, below  you can see what I mentioned
to you from my code.

 wks_type            = "ps"
        ;wks_type at wkWidth    = 1700
        ;wks_type at wkHeight   = 1536
         wks_type at gsnPaperOrientation  = "portrait"

         wks = gsn_open_wks(wks_type,"animate"+sprinti("%03i",it))

         mpid    = gsn_csm_map(wks,mpres)
         hnid  =  gsn_csm_contour(wks,hgt300(:,:),hres)
         T_300  = gsn_csm_contour(wks,T300,Tres)
         V_300   =gsn_csm_vector(wks,U300,V300,Vres)

         ;Overlaps maps in order
         overlay(mpid,hnid)
         overlay(mpid,T_300)

All the best,
Sebastián.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150804/636c2f59/attachment.html 


More information about the ncl-talk mailing list