Re: Paper orientation

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 07 2011 - 16:25:22 MST

James,

I'm not an expert at this and am just speculating, but I wonder if the definitions of mpRightCorner[Lat|Lon]F are in conflict with Landscape, and this somehow yields what you're seeing. What happens if you set those as Lat2d(862,692), or what if you leave those resources out?

FWIW...
Rick

On Jan 7, 2011, at 1:33 PM, James Correia wrote:

> Hi-
> I am plotting wrf data from a grib file using gsn_csm_contour_map and setting these resources:
> rmap = True
> rmap@gsnAddCyclic = False ; regional data: not cyclic
> rmap@mpProjection = "LambertConformal"
> rmap@mpLimitMode = "Corners"
> rmap@mpCenterLonF = -97.
> rmap@mpCenterLatF = 38.5
> rmap@cnInfoLabelOn = False
> rmap@mpLeftCornerLatF = lat2d(0,0)
> rmap@mpLeftCornerLonF = lon2d(0,0)
> rmap@mpRightCornerLatF = lat2d(692,862)
> rmap@mpRightCornerLonF = lon2d(692,862)
>
> rmap@mpOutlineDrawOrder = "PostDraw" ; draw continental outline last
> rmap@mpFillDrawOrder = "PreDraw"
> rmap@mpOutlineBoundarySets = "GeophysicalAndUSStates" ; state boundaries
> rmap@mpFillOn = False ; turn off map fill
> rmap@cnFillOn = True ; turn on color
> rmap@cnLinesOn = False ; turn on color
> rmap@gsnSpreadColors = True ; use full range of colormap
> rmap@cnLevelSelectionMode = "ExplicitLevels" ; set explicit contour levels
> rmap@cnLevels = (/ .254,1.,2.,4.,6.,8.,10./)
> rmap@gsnMaximize = True
> rmap@gsnPaperOrientation = "Landscape"
>
> The resulting plot comes out Landscape oriented, but the map plot is still at a 90 degree angle to the orientation. Nothing changes when I turn off gsnMaximize. So I must be doing something wrong. Any ideas?
>
>
> --
> ------------------------------------------------------------------------------------------
> The views expressed in this email do not necessarily reflect those of NOAA, the National Weather Service, or the University of Oklahoma.
> ------------------------------------------------------------------------------------------
> James Correia Jr.
> OU CIMMS Research Associate
> SPC HWT Liaison
>
>
>
>
> --
> ------------------------------------------------------------------------------------------
> The views expressed in this email do not necessarily reflect those of NOAA, the National Weather Service, or the University of Oklahoma.
> ------------------------------------------------------------------------------------------
> James Correia Jr.
> OU CIMMS Research Associate
> SPC HWT Liaison
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jan 7 16:25:27 2011

This archive was generated by hypermail 2.1.8 : Thu Jan 13 2011 - 09:24:21 MST