Re: Publication-quality plots [message #39638 is a reply to message #39637] |
Wed, 02 June 2004 14:57   |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Kenneth Bowman wrote:
> David Fanning <davidf@dfanning.com> wrote:
>>> So, does no-one have joy with windows metafiles?
>>> Or directly through the windows clip-board (OLE, and all that)?
>>
>> You might ask the Mac users. They go in for that sort
>> of thing. :-)
>>
>
> Now that Macs run Unix (OS X), IDL runs under X Windows. If I
> understand the question correctly, its about grabbing images from the
> screen.
The original question was about writing IDL graphics to Windows
Metafiles via the METAFILE device (Direct Graphics) or the
IDLgrClipboard object (Object Graphics). This can only be done on
Windows, because it uses the OS's support for the metafile format.
Yeah, it works quite well. If you generate a WMF file in IDL and import
it into Word, it looks nice on the screen, prints nicely and is scalable
& editable (in principle anyway--the number of elements can be quite
large, which may overwhelm Word's picture editor).
I would like to point out that having an accurate representation of a
complicated graphic in a WYSIWYG word processor is not necessarily a
good thing, because it can make screen redraws very slow. Generally, I
find the EPS+preview approach suits me better. But at least with WMF
graphics you don't get people asking why the graphs look so horrible.
--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|