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

Home » Public Forums » archive » Re: OG polygon to EPS problem
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: OG polygon to EPS problem [message #31929] Fri, 30 August 2002 14:53 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.17d95dd7d6f4b57298998b@news.frii.com...
> Mirko Vukovic (mvukovic@taz.telusa.com) writes:
>
>> You see, all this is really David's fault.
>
> Oh, right. I'll take the blame. :-)
>
>> I really liked his
>> fsc_surface routine, and how easily I was able to modify it to plot
>> polygons instead of surfaces. And polygons are important to me, as
>> our data is inherently non-grid like, and polygon plots showed the
>> real data, with no other grids overlaid as result of tri-gridding.
>>
>> So, I am converted to OG for these types of applications. But how can
>> I get then a decent quality rasterised printer output?
>
> Have you tried removing the VECTOR keyword? What happened?
> I should think you would get a nice polygon surface. That's what
> I get when I save FSC_SURFACE output without setting the
> VECTOR keyword, anyway.

Yes, as David says, using bitmap mode (the default) will give you the same
quality as you'd get on the screen. Also, you can use the Dimensions
keyword to make the clipboard bigger, if you need more pixels.

IDLgrPrinter will also do a good job in bitmap (default) mode by using the
full resolution of the printer.

If you insist on using vectors, I found a workaround for the original
problem. If you specify VERT_COLORS, you'll avoid the bug and draw that
pyramid with hidden line removal. Since your polygon is black, just add
"oPolygon->SetProperty, VERT_COLORS=BYTARR(3,5)", or initialize the
vert_colors array to whatever color you need.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Yet another alternative to IDL/MATLAB
Next Topic: Tip for using Compound Widgets

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

Current Time: Wed Oct 08 14:52:10 PDT 2025

Total time taken to generate the page: 0.00549 seconds