comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Grid lines misaligned when using CONTOUR and MAP_SET
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Grid lines misaligned when using CONTOUR and MAP_SET [message #83494 is a reply to message #83493] Thu, 07 March 2013 15:36 Go to previous messageGo to previous message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
Actually I am using cgContour, but I get the same behaviour using the vanilla versions or their CG equivalents. I posted the question using the vanilla ones for simplicity (since the results for this issue were the same).

Here is my actual code (it's a little messier but I'm sure you'll get the gist):

cgContour, self->get_data(),self->get_lon_map(),self->get_lat_map(), /Fill, Levels=contourLevels, C_Colors=colors, $
/OutLine, Position=position,title=self->title(datetime),charsize=1.,xtitle=self- >xtitle(),ytitle=self->ytitle(),/noerase

cgMap_set,0,180,/continents,/cyl,/grid,e_grid={londel:10.,la tdel:10.},/noerase,limit=[self.lat_min,self.lon_min,self.lat _max,self.lon_max],$
position=position,mlinethick=5.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plotting one point with plot3d()
Next Topic: image-convolution

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 02:04:10 PDT 2025

Total time taken to generate the page: 0.18093 seconds