Hi Bruce,
There's no automatic way to get a color bar like this, but you could use gsn_table to draw a table of colors with tickmarks.
See example table_4.ncl at:
http://www.ncl.ucar.edu/Applications/table.shtml
You would have to come up with the algorithm for determing the color for each cell of the table.
We do have *some* color functions that might help, but they might not be appropriate for your case:
http://www.ncl.ucar.edu/Applications/colormap.shtml
If you do create an example with NCL, then we'd be happy to put it one on of our example pages.
--Mary
On Oct 25, 2012, at 8:49 AM, zhifeng yang wrote:
> Hi
>
> I am wondering if we have 2-dimension color table in ncl. It looks like the following
>
> <image.png>
>
> Thank you
>
> Bruce
>
> _______________________________________________
> 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 Oct 25 15:22:48 2012
This archive was generated by hypermail 2.1.8 : Wed Oct 31 2012 - 09:14:12 MDT