[ncl-talk] labelbar on left side

David B. Reusch dreusch at ees.nmt.edu
Wed Oct 15 16:19:44 MDT 2014


Thanks Mary, that did the trick and in a LOT fewer lines than I'd been 
playing around with.  The new example is nice too.  I know we can't have 
examples for everything so I'm glad to see this one make it.

Cheers,
Dave

Mary Haley wrote on 10/15/14 8:48 AM:
> Hi Dave,
>
> Sorry this is so confusing.  The gsn_csm_xxxx contouring scripts are 
> set up to put the labelbar on the right side, and they unfortunately 
> don't recognize a setting of "pmLabelBarSide" of "Left".
>
> You can set the pmLabelBarOrthogonalPosF resource to move it over.  
> Try a value of -1.2 (-1.0 puts it on the left side of the plot, and 
> values slightly smaller will push it outside the plot).
>
> You can also see example lb_21.ncl, which I just created for this 
> purpose, at:
>
> http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex21
>
> --Mary
>
>
> On Tue, Oct 14, 2014 at 12:01 PM, David B. Reusch <dreusch at ees.nmt.edu 
> <mailto:dreusch at ees.nmt.edu>> wrote:
>
>     I need to put a vertical labelbar on the left side of a
>     gsn_csm_contour_map_polar plot and it's not proving to be as
>     straightforward as I'd hoped.  I've managed to customize lb_19.ncl
>     to a point that seems promising (i.e., has the potential to work
>     for my actual plot script) but it seems rather clunky/fragile and
>     I was hoping there'd be something simpler.  (I'm also aware that
>     lb_19.ncl uses gsn_csm_contour_map but am not seeing that
>     difference as part of the problem.)
>
>     Note that I had the impression that setting pmLabelBarSide to
>     "Left" was all I needed to do, so that's more or less where I
>     started (inspired by both the Labelbar and Paneling Examples) but
>     it seems to be ignored (with no error or warning messages).  The
>     attached example indicates where I tried this.
>
>     This is NCL 6.2.1 on OS X 10.9.5.  I've attached the customized
>     script, a small data file and an example figure.
>
>     Thanks,
>     Dave
>
>     -- 
>     Associate Research Professor of Climatology
>     Dept of Earth and Environmental Science
>     MSEC 304; 801 Leroy Place
>     New Mexico Tech
>     Socorro, NM 87801
>
>
>     _______________________________________________
>     ncl-talk mailing list
>     List instructions, subscriber options, unsubscribe:
>     http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
Associate Research Professor of Climatology
Dept of Earth and Environmental Science
MSEC 304; 801 Leroy Place
New Mexico Tech
Socorro, NM 87801

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141015/602989c8/attachment.html 


More information about the ncl-talk mailing list