On Nov 22, 5:31 pm, David Fanning <n...@dfanning.com> wrote:
> xiao writes:
>> OK, when I using this version, if I put /overplot keyword in the first
>> contour command, it give me floating errors. If i do not use this key
>> word, is does not show the TICKNAME of the axies.
>
> I think you code might be just a little mixed up. Try to
> get your entire Contour command in one place in the file.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
:) HERE IT IS
min = min(inits)
max = max(inits)
inits = (inits-min)/(max-min)
inits = inits* 255
inits=fix(inits)
print,max(inits),min(inits)
map_set,/CYLINDRICAL,limit=[-34.3842,min(lon),-31.6985,max
(lon)],color=0,/noborder
map_grid, color=0
map_continents,/countries, /coasts, color=0
TVLCT, r, g, b
IF (!D.Flags AND 256) NE 0 THEN $
Device, Decomposed=0, Get_Decomposed=theState
contour,inits,color=0,title='Sensible heat flux', /device,/
NOERASE,xrange=[0,76],/xstyle,xTICKINTERVAL=73,xTICKNAME=[lo n1(0),lon1
(3)],$
yrange=[0,73],/ystyle,yTICKINTERVAL=73,yTICKNAME=[lat1(3),la t1(0)],
$
C_COLORS=Indgen(64),/CELL_FILL, NLEVELS=20
Contour, inits, Color=0, NLEVELS=20,/Overplot
IF (!D.Flags AND 256) NE 0 THEN $
Device, Decomposed=theState
|