Re: Map tickmarks on regional cylindrical equidistant contour plot

From: Jatin Kala <jatin.kala.jk_at_nyahnyahspammersnyahnyah>
Date: Mon Oct 28 2013 - 21:36:57 MDT

I think the problem is coming from:
res@mpCenterLatF = 30.

If you comment it out, the plot looks like one would expect. Same if you set it to zero (the default value). I agree that setting it to 30 "makes sense" in this case and is the intuitive thing to do, especially when the code warns you in this case, if you do not set the mpCenterLon value.


On 29/10/2013, at 1:37 PM, Teresa Parker wrote:

> When doing a cylindrical equidistant plot of contours over a regional map, using mpMaxLatF etc. commands, the lat/lon tickmarks are evenly spaced around the borders of the plot. They do not, however, correspond to the exact positions of the map gridlines, as the projection is curved over a plot of about 160 deg lon and 60 deg lat in extent. I have attached a simple script, which requires no external data files, and the resulting plot.
> The script mptick_9.ncl gives a function, "add_map_tickmarks", which allows the explicit indication of where to place tickmarks on a map. However, the add_map_tickmarks function does not apparently work on cylindrical equidistant (the default) maps. Any ideas for placing the tickmarks correctly, so that a plot with gridlines will have tickmarks in the right place, as per the result of mptick_9.ncl for a different map projection?
> Thanks for any assistance you can offer.
> --
> Tess Parker
> PhD Candidate
> School of Mathematical Sciences
> Room 225, Building 28
> Monash University, Clayton VIC 3800
> Phone: +61 3 9905 4458
> <tickmark_test.eps><tickmark.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Mon Oct 28 21:37:12 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 01 2013 - 08:58:14 MDT