cgcontour not outputting? [message #80982] |
Thu, 26 July 2012 14:52 |
Oana Coman
Messages: 27 Registered: December 2011
|
Junior Member |
|
|
Hi awesome people,
So I'm trying to output this contour plot that i'm making using cgContour. Code below:
cgContour,aa,x(ix),y(iy),$
xrange=xrange2, yrange=yrange2, aspect=asp,$
/Fill, /Outline,$
xstyle=1, ystyle=1, label=2,$;c_labels=levels,$
levels=levels, C_colors=Indgen(numLevels(1))+1,$
output='PS',$
outfilename=s.filename+'_'+month+day+'_'+hour+'_'+'contour.p s',$
/Window
Did I do this incorrectly?
I also tried defining the filename right in output, like so
cgContour,aa,x(ix),y(iy),$
xrange=xrange2, yrange=yrange2, aspect=asp,$
/Fill, /Outline,$
xstyle=1, ystyle=1, label=2,$;c_labels=levels,$
levels=levels, C_colors=Indgen(numLevels(1))+1,$
output=s.filename+'_'+month+day+'_'+hour+'_'+'contour.ps',$
/Window
but did not work.
For my own sanity, I did a CD, CURRENT=curr and printed out my working directory to make sure it wasn't outputting somewhere in the abyss of my computer. Working directory was good.
Any help is greatly appreciated :)
|
|
|