[ncl-talk] producing label bars with a given width and height
Alan Brammer
abrammer at albany.edu
Sun Mar 13 12:41:21 MDT 2016
Without seeing an actual NCL script and how you’re plotting it’s hard to guess.
But have you looked at the label bar examples?
Initial resources you could set, taken from lb_5.ncl https://www.ncl.ucar.edu/Applications/labelbar.shtml:
res at pmLabelBarWidthF = 0.4 ; default is shorter
res at pmLabelBarHeightF = 0.1 ; default is taller
Alan
##############################
Alan Brammer,
Post-Doc Researcher
Department of Atmospheric and Environmental Sciences,
University at Albany, State University of New York, Albany, NY, 12222
abrammer at albany.edu
##############################
> On 10 Mar 2016, at 04:29, emanuele lombardi <emanuele.lombardi at enea.it> wrote:
>
> Dear NCL-ers,
>
> I'm putting my ncl plots over Google Maps and I'm very happy with that.
> I give Google Map my plot as a Ground Overlay and the labelbar as a "control element" [ by means of map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(myControlDiv) ]
>
> My problem is that labelbars of my plots grately varies in size from plot to plot, thus their posizion and size varies in the resulting Google Map. And this is not good.
>
> Thus my question is: whichever the number of "colors" there will be in the label bar, is it possible to have the label bar of a given size (in term of pixel)?
>
> I use res at lbAutoManage = False
>
> Thank you very much for any help,
> Regards,
> Emanuele
>
>
>
> --
> Emanuele Lombardi
> ENEA Casaccia
> I-00123 Roma (RM)
> tel. +39 0630483366
> http://utmea.enea.it/people/lombardi
> _______________________________________________
> 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/20160313/28463890/attachment.html
More information about the ncl-talk
mailing list