Re: Default NCL tickmarks in PyNGL

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Jul 13 2011 - 13:17:39 MDT

Hi Deepak,

You are right that the tickmarks you get with PyNGL are the ones that you get when you set pmTickMarkDisplayMode to "Always" in gsn_csm. This is because when gsn_csm was first written, we didn't have a way to create the degree style map tickmarks, so we created our own (without the degree symbol). Later, NCL was augmented to allow the degree-style tickmarks, and since most people seemed to like this style better, we decided to make it the default for PyNGL.

Unfortunately, you don't have a lot of options in customizing these map tickmarks.

To get the gsn_csm default style, you need to create your own tickmarks and overlay them on a map plot. You can do this by creating a blank plot, customizing the tickmarks on that blank plot, and then overlaying the blank plot on the map.

I've created an example, but this will only work with PyNGL 1.3.1 (hopefully I don't have any post-1.3.1 stuff in there).

See attached.


On Jul 13, 2011, at 8:31 AM, Deepak Chandan wrote:

> Hi everyone,
> I would like to know if it is possible to have NCL's gsn_csm style tickmarks in pyngl? It appears that the tickmarks that pyngl produces by default are those that gsn_csm would produce if the resource pmTickMarkDisplayMode were set to "Always". Any input on this would be really helpful.
> Thank you!
> Sincerely,
> Deepak Chandan
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:

tickmark2.000001.png tickmark2.000002.png
Received on Wed Jul 13 13:17:45 2011

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2011 - 08:51:37 MDT