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

Home » Public Forums » archive » Contour object quality
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
Contour object quality [message #35457] Thu, 12 June 2003 00:30
Jacques Basson is currently offline  Jacques Basson
Messages: 17
Registered: May 1999
Junior Member
I just can't seem to get good quality PostScript from IDLgrContour. A
brief example is at the end of this post. The direct graphics gives nice
smooth polylines, but the object output produces pretty jagged lines. I
suspect that it is the contour routine that is the problem because the
axis numbers are pretty smooth.

I have tried playing with pretty much all of the keywords in
IDLgrContour and IDLgrClipboard, but nothing seems to improve the quality.

Is there some trick here that I am missing - some magic keyword that
will sort out my plots?

Thanks,
Jacques

pro test_con
set_plot, 'PS'
device, filename='C:\direct.eps', /encapsulated
contour, dist(400)
device, /close
set_plot, 'WIN'

contmodel = obj_new('IDLgrModel')
contview = obj_new('IDLgrView', viewplane_rect=[-25, -5, 430, 430])
contwindow = obj_new('IDLgrClipboard', dimensions=[500,500])
cont = obj_new('IDlgrContour', dist(400), geomz=0, /planar)
y_axis = obj_new('IDLgrAxis', 1, range=[0,399])
contmodel -> Add, cont
contmodel -> Add, y_axis
contview -> Add, contmodel
contwindow -> Draw, contview, /vector, /postscript,
filename='C:\object.eps'
obj_destroy, contview
obj_destroy, contwindow
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HISTOGRAM and the Razor's Edge.
Next Topic: Re: Request for help using IDL in ENVI

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

Current Time: Wed Oct 08 18:39:28 PDT 2025

Total time taken to generate the page: 0.00668 seconds