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

Home » Public Forums » archive » Dump WAVE plot to hardcopy
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
Dump WAVE plot to hardcopy [message #5120] Fri, 06 October 1995 00:00 Go to next message
uuvince is currently offline  uuvince
Messages: 6
Registered: June 1991
Junior Member
I have written several WAVE programs for computer literate, but non-programmer,
users to use for visualizations and analysis of their experimental data. In
these programs I use menus and prompts to let the user select the plot type
and set values for most of the WAVE system and graphics keywords. I let the
user iterate on each plot until they have it looking just the way they want
it. The, of course, they want the program to generate a hardcopy that looks
exactly like the plot on their screen. This is the source of my frustration.

I have been unable to find a good way to have WAVE generate a hardcopy of
what's on the screen. I have resorted to a kind of internal journalling where
I write the equivalent of everything the user does into a file and then I
rewind the file, change the plot device to 'ps', and EXECUTE each line in the
file to generate the printable graphics output. Has anybody found a better
to accomplish this task? These programs need to run across the whole range of
WAVE supported platforms.
Vince Scullin

------------------------------------------------------------ ------------------
| Vince Scullin | Never attribute to malice that |
| Software Engineering Branch | which can be adequately explained |
| NASA Lewis Research Center | by ignorance. |
| Cleveland, Ohio 44135 | uuvince@ariel.lerc.nasa.gov |
------------------------------------------------------------ ------------------
Re: DUMP [message #17418 is a reply to message #5120] Sun, 10 October 1999 00:00 Go to previous message
Richard G. French is currently offline  Richard G. French
Messages: 65
Registered: June 1997
Member
"Robert S. Mallozzi" wrote:
>>
> PRO DUMP
> PRINT, 'In DUMP'
> END
>
> Then try
>
> IDL> .run dump
> IDL> dump
>
> The procedure is not called. I tried it with IDL 5.2
> and 5.3beta.
>
> Regards,
>
> -bob

Same problem exists in IDL 3.6, so it is not a new problem!
But if you say
HELP
after you try it, it does list DUMP as
a Compiled Procedure.

Dick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: DUMP
Next Topic: The astro package and PC IDL

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

Current Time: Wed Oct 08 15:12:35 PDT 2025

Total time taken to generate the page: 0.15850 seconds