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 #83492 is a reply to message #83491] Thu, 07 March 2013 15:59 Go to previous messageGo to previous message
Matt Francis is currently offline  Matt Francis
Messages: 94
Registered: May 2010
Member
On Friday, 8 March 2013 10:47:22 UTC+11, Coyote wrote:
> Bogdanovist wrote:
>
>> 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).
>
>
>
> Humm. It is hard to me to visualize the problem, I guess. Do these two lines of code show the problem?
>
>
>
> cgcontour, cgdemodata(7), position=[0.1, 0.1, 0.9, 0.9], /FILL
>
> cgmap_set, 0, 180, /continents, /cylindrical, position=[0.1, 0.1, 0.9, 0.9], /noerase
>
>

> David

It's a little bit difficult to tell, but I think so. Here is an example on an image produced using an ancestor of my current code that shows the same issue, presumably for the same reasons. Note that the LON=110 and LON=180 grid lines are offset a little, the same for the latitude grid lines in a way suggesting the MAP_GRID is leaving room for some annotation or border.

http://www.ips.gov.au/Images/Satellite/Total%20Electron%20Co ntent/TEC%20Regional%20Map/TECRegionalMap.png
[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: Thu Oct 09 04:48:19 PDT 2025

Total time taken to generate the page: 0.08186 seconds