[ncl-talk] different orientations depending on output png or eps, wrf_overlays

Mary Haley haley at ucar.edu
Thu Jan 5 08:23:45 MST 2017


Hi Xiaoming,

I assume you are using gsn_panel to do the final draw of these two plots.

If so, you want to set gsnMaximize to True *and* set gsnPaperOrientation.

I've included a short script that illustrates this. Change the
"orientation" variable to the desired orientation and run the script.

--Mary


On Wed, Jan 4, 2017 at 11:18 AM, xiaoming Hu <yuanfangcan at hotmail.com>
wrote:

> Interesting, I got different orientations depending on output png or eps.
> If I output png, I got portrait, but I got landscape if I output eps.
>
>
> See my output figure
>
> http://www.caps.ou.edu/micronet/WRF-UCM/FocusON_OKC/
> WRFV3.7.1/with_rr_fixed/wrfNARR2d_UCM_Snudge_WangRec53wave.2002_2015Mean/
> wrfout_d02_W_crossSN90_2ndMax_smooth_partial_8.png
>
>
> http://www.caps.ou.edu/micronet/WRF-UCM/FocusON_OKC/
> WRFV3.7.1/with_rr_fixed/wrfNARR2d_UCM_Snudge_WangRec53wave.2002_2015Mean/
> wrfout_d02_W_crossSN90_2ndMax_smooth_partial_8.eps
>
>
> See my script:
>
> http://www.caps.ou.edu/micronet/WRF-UCM/FocusON_OKC/
> WRFV3.7.1/with_rr_fixed/wrfNARR2d_UCM_Snudge_WangRec53wave.2002_2015Mean/
> wrf_CrossSection_WSPplusVecter_positive90tilt_smooth_for2ndMax_combine_
> another.ncl
>
>
> I tried a few resources (including gsnPaperOrientation,  wkOrientation =
> "portrait" ) to rotate the eps orientation, but all failed. Currently
> landscape, I want portrait.
>
>
> Any suggestions?
>
>
>  Thanks a lot!
>
> Xiaoming
>
>
>
> _______________________________________________
> 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/20170105/4a36b28a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_eps.ncl
Type: application/octet-stream
Size: 1030 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170105/4a36b28a/attachment.obj 


More information about the ncl-talk mailing list