Hi,
I am relatively still new in the IDL community and I most often get lost when I encounter problems. In most cases, coyote guide/webpage has really helped alot.
I have been seeing this strange feature whenever I use contour procedure or plot procedure: the postscript file will just become blank or sometimes create the axis but not the data inside or even sometime would not open at all. I have instead been using plot function and I just forget about it for a while, but now I have to make a contour and when I use a contour function, I encountered yet another problem which make me want to call for help.
For contour Funtion: here is the error message I received
;
CONTOUR: Keyword RGB_TABLE not allowed in call to: LOADCT
;
and the screen goes blank again.
For the contour procedure, here is a standard example code I always use(which do work before this problem started)
dimid = NCDF_OPEN('surfvel.nc', /NOWRITE)
NCDF_VARGET, dimid,'molat',molat
NCDF_VARGET, dimid,'molon',molon
NCDF_VARGET, dimid,'cldfrNight',cldfrNight
NCDF_CLOSE, dimid
SET_PLOT,'ps'
!P.FONT=0
DEVICE,/helvetica,font_size=15
DEVICE,/encapsulated
DEVICE,filename='plott.ps'
DEVICE,/portrait
DEVICE,/color,bits=8
device,/inches,ysize=11.5,xsize=13.5;,yoffset=2.0
;
!P.MULTI= 0
LOADCT,39
CONTOUR, cldfrNight, molon ,molat, $
xrange=[areaw,areae],/xstyle, $
yrange=[areas,arean],/ystyle,$
xtitle='Longitude', $
ytitle='Latitude', $
levels=FINDGEN(10)*0.5+15.0,c_colors=[FINDGEN(10)*8.], $
/cell_fill
device,/close_file
;
I will appreciate any help.
Thanks
Yemi
|