Re: Help on scatter plot

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 21 2012 - 08:46:35 MDT

Hi Jiafu,

To create your own labelbar and attach it to a plot, you can use gsn_create_labelbar and gsn_add_annotation.

If you just want to draw a labelbar on a page, and you don't care about attaching it to a plot, then you can use gsn_labelbar_ndc.

For gsn_create_labelbar and gsn_add_annotation examples:

See examples 15 and 25 at:

http://www.ncl.ucar.edu/Applications/maponly.shtml

Or examples 23 and 27 at:

http://www.ncl.ucar.edu/Applications/maponly.shtml

Example 27 on the panel page shows how to create two labelbars, one is vertical and the other is horizontal.

For gsn_labelbar_ndc examples:

See example 6 at:

http://www.ncl.ucar.edu/Applications/maponly.shtml#ex6

Or, see example 7 at

http://www.ncl.ucar.edu/Applications/scatter.shtml

Note that this is the type of labelbar that has spaces between each box.

--Mary

On Jun 20, 2012, at 7:54 PM, 毛嘉富 wrote:

>
> Hi,
> Can you add two different color bars onto http://www.ncl.ucar.edu/Applications/Images/newcolor_4_2_lg.png?
> In other words, how can I make scatter plots like Fig.2 in this paper http://www.sciencemag.org/content/336/6080/455.full.
> Thanks,
> Jiafu
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 21 08:46:47 2012

This archive was generated by hypermail 2.1.8 : Mon Jun 25 2012 - 09:57:23 MDT