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
Re: MAP_SET problem [message #62588 is a reply to message #5813] Fri, 19 September 2008 13:54 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
sure we could explain this... but why don't you try to figure it out
for yourself? Just try to run the commands one at a time and observe
their effect. That will go a long way teaching you how to find
problems
in your code.

Cheers,
Paolo

xiao wrote:
> 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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating DLMs that have IDL code in it
Next Topic: Re: find a plane in a 3D plot

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

Current Time: Sun Oct 12 00:22:53 PDT 2025

Total time taken to generate the page: 1.84611 seconds