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

Home » Public Forums » archive » Re: Poscript Component Selection
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: Poscript Component Selection [message #45516 is a reply to message #45515] Mon, 12 September 2005 19:10 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> OK, find this line in the DEMO_DRAW:
>
> oWindow->Draw, oView
>
> And after it, try this:
>
> clipboard = Obj_New("IDLgrClipboard", Dimensions=[4,3], Units=1, $
> Resolution=[2.54/300., 2.54/300.])
> clipboard->Draw, oView, Filename='myfile.eps', /PostScript, /Vector
> Obj_Destroy, clipboard
>
> But, I agree with Mark. I don't think it has much of a chance
> of actually working.

DEMO_DRAW is called by the D_VECTRACK widget every time the window is
refreshed, so the above works a little more often than required!

But it does work (I tried it). There are some effects missing in the
resulting plot (eg coloured texture map on one of the slices) and the
lettering is way to big (different Dimensions or Resolution settings for
the clipboard object might fix this).

Don't forget to remove or comment out the extra code and recompile after
you've finished!


--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: tvimage followed by contour in ps... positioning not coming out right
Next Topic: Re: Force Field

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

Current Time: Fri Oct 10 03:32:00 PDT 2025

Total time taken to generate the page: 0.01017 seconds