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

Home » Public Forums » archive » Cannot see anything in the postscript file. Any help?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Cannot see anything in the postscript file. Any help? [message #79732] Mon, 26 March 2012 20:43
Yemmy is currently offline  Yemmy
Messages: 3
Registered: March 2012
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: An optimisation question
Next Topic: Minimization Problem

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

Current Time: Wed Oct 08 18:52:45 PDT 2025

Total time taken to generate the page: 0.00364 seconds