f



matchup of Map_set & contour #2

Hi

I want to overlap contour lines on a map.
However, it doesn't match exactly (I can see the gridlines).
Could someone know how to fix it?
Here is an example..

;----------------------
lon = FINDGEN(91)
lat = FINDGEN(115)
x = 17.0 + lon*(1/6.0)
y = 23.0 + lat*(1/6.0)

seed=1L
temp = sin(x)^2 * cos(x)
z = DIST(91,115)

LOADCT, 39
WINDOW,1,TITLE='WORLD MAP',xsize=800,ysize=900

CONTOUR, z, x, y, /Follow, position=[0.1,0.1,0.9,0.9] $
       , NLevels=20, XStyle=1, YStyle=1, /NoErase, /FILL
MAP_SET, /CYLINDRICAL, LIMIT=[23.0,17.0,42.0,32.0], /CONTINENTS $
       , /HIRES, Mlinethick=1., position=[0.1,0.1,0.9,0.9] $
       , /Noerase ;, /ISOTROPIC
MAP_CONTINENTS, /HIRES,color=255, /FILL_CONTINENTS, /CYLINDRICAL ; /mercator
MAP_CONTINENTS, /COAST, color=0, /HIRES, /CYLINDRICAL ; /mercator
MAP_GRID, charsize=1.25, color=100 ,latdel=2, londel=2 $
        , /BOX_axes, GLineStyle=2
;----------------------

Thanks.
Sincerely.


Son
0
shson (6)
9/3/2003 1:46:25 PM
comp.lang.idl-pvwave 12260 articles. 4 followers. Post Follow

0 Replies
709 Views

Similar Articles

[PageSpeed] 42

Reply: