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

Home » Public Forums » archive » Re: Contour object quality
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Contour object quality [message #35452 is a reply to message #35430] Thu, 12 June 2003 07:06 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jacques Basson writes:

> 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?

The magic keyword is RESOLUTION. :-)

I set up your clipboard like this and got reasonable
results:

contwindow = obj_new('IDLgrClipboard', Dimensions=[5,5], $
Units=1, Resolution=[2.54/300., 2.54/300.])

You can learn more about this in this article:

http://www.dfanning.com/ographics_tips/object_eps.html

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: NAN in contour
Next Topic: Clearing widget events

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

Current Time: Sat Dec 06 04:20:38 PST 2025

Total time taken to generate the page: 0.00244 seconds