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

Home » Public Forums » archive » MAP_SET problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
MAP_SET problem [message #62590] Fri, 19 September 2008 13:37
xiao zhang is currently offline  xiao zhang
Messages: 81
Registered: June 2008
Member
HI~ guys, I have a problem here. I wrote the following program but the
map_set command does show the grid lines , why is that? Thank you

dimg is a two dimensional array ranging from 0 to 10


device, decomposed=0,retain=2
window,1,xsize=np,ysize=nl+10
!P.background=FSC_Color('Gray')
dd=fltarr(np,nl+10,3)
dd(*,*,*)=255
tv,dd,true=3
;; 0 1 2 3 4 5 6 7 8 9 10 11 12
r=[255,255,000,204,000,153,102,051,123]
g=[255,102,102,153,204,102,000,204,157]
b=[255,153,102,102,102,204,051,204,190]
tvlct,r,g,b

lat_min=-38.18
lat_max=-26.82

lon_min=111.85
lon_max=123.15

Map_set,/continent,/grid,/
noerase,limit=[lon_min,lon_min,lat_max,lon_max],$
charsize = 1.5,COLOR=0

TV,dimg,order=1
[Message index]
 
Read Message
Previous Topic: Cheers for everything
Next Topic: text objects and erroneous pixel resolution

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

Current Time: Fri Oct 10 15:20:34 PDT 2025

Total time taken to generate the page: 0.32678 seconds