Re: lbLabelBarOn

From: Dorita Rostkier-Edelstein <drostkier_at_nyahnyahspammersnyahnyah>
Date: Tue, 24 Mar 2009 05:42:56 -0700 (PDT)

I used this one http://www.ncl.ucar.edu/Applications/Scripts/maponly_6.ncl I very much recommend this strategy. Thanks, Dorita   ===================================== Dr. Dorita Rostkier-Edelstein, Ph.D. http://www.geocities.com/drostkier/DO_page.html ===================================== ________________________________ From: Mary Haley <haley@ucar.edu> To: Dorita Rostkier-Edelstein <drostkier@yahoo.com> Cc: ncl-talk@ucar.edu Sent: Monday, March 23, 2009 8:26:47 PM Subject: Re: lbLabelBarOn 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@ucar.edu> > To: Dorita Rostkier-Edelstein <drostkier@yahoo.com> > Cc: ncl-talk@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@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 Tue Mar 24 2009 - 06:42:56 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 25 2009 - 15:36:00 MDT