Re: lbLabelBarOn

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 23 Mar 2009 12:26:47 -0600

Thanks for providing a sample graphic.

There's no way to have a labelbar generated automatically from using
gsn_polymarker, but you can create your own.

See example 7 at:

http://www.ncl.ucar.edu/Applications/bar.shtml#ex7

or example 2 at:

http://www.ncl.ucar.edu/Applications/polyg.shtml#ex2

You can also consider creating a legend of sorts. See example 2 at:

http://www.ncl.ucar.edu/Applications/station.shtml#ex2

--Mary

On Mar 23, 2009, at 9:05 AM, Dorita Rostkier-Edelstein wrote:

> Dear Mary,
>
> Thanks for the reply. In fact I am plotting balls at stations
> locations, and these are colorful, according to classes
> (precipitation amounts) that I defined. I would like to see the
> colorbar for those. I use gsn_add_polymarker. Just in case, I am
> attaching the script again and also an example of how the map with
> the color balls looks like. I have taken the xland of, the script I
> am attaching now is much shorter. Sorry for the hassle.
>
> Dorita
>
> =====================================
> Dr. Dorita Rostkier-Edelstein, Ph.D.
>
> http://www.geocities.com/drostkier/DO_page.html
> =====================================
>
>
> From: Mary Haley <haley_at_ucar.edu>
> To: Dorita Rostkier-Edelstein <drostkier_at_yahoo.com>
> Cc: ncl-talk_at_ucar.edu
> Sent: Monday, March 23, 2009 4:35:00 PM
> Subject: Re: lbLabelBarOn
>
> Dorita,
>
> The "contour_xland" plot is the only one that I can see that you are
> turning on contour fill for, so I assume this is the one you want the
> labelbar for.
>
> Try adding:
>
> opts_xland_at_lbLabelBarOn = True
>
> The wrf_contour plotting script is slightly different than the
> gsn_csm_contour script, in that it does't automatically turn on
> a labelbar if "cnFillOn" is set to True. You have to additionally
> set "lbLabelBarOn" to True as well.
>
> --Mary
>
>
> On Sun, 22 Mar 2009, Dorita Rostkier-Edelstein wrote:
>
> > Hello,
> >
> > I am trying to plot the label bar but for some reason it does not
> appear.
> > I've attached the script (which I apologize for not being too neat).
> >
> > Thanks.
> >
> > Dorita
> <geo_stats_wrf_balls_clean.ncl><stations_0902_d04.pdf>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 23 2009 - 12:26:47 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 23 2009 - 12:30:31 MDT