[ncl-talk] labelbar on left side

Mary Haley haley at ucar.edu
Wed Oct 15 08:48:38 MDT 2014


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>
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141015/df90310d/attachment.html 


More information about the ncl-talk mailing list