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

Home » Public Forums » archive » completely reset PostScript device between plots?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
completely reset PostScript device between plots? [message #30373] Fri, 26 April 2002 22:33 Go to previous message
noymer is currently offline  noymer
Messages: 65
Registered: June 1999
Member
Dear Comp.Lang.IDL-PVwave,

I have a program that generates three separate EPS graphs in IDL
(5.3) direct graphics. This must be a FAQ but searching Google didn't
yield anything. You guys have been particularly patient with my
questions in the past, so I'm going to venture a post.

The PS device is remembering something about prior graphs and it's
messing up the later graphs. They are the wrong size, etc. I tried
to mess around with various settings (charsize, etc., etc.) but none
of them seem to fix the problem. If I skip a prior graph, the problem
goes away for the subsequent one. Is there not a way just to reset
totally the PS device between plots without getting lost in resetting
every little thing? (or just some other way to prevent this problem?)

Just to be perfectly clear, this is not a !P.Multi issue: I have
three separate graphs in three separate Encapsulated Post Script
files.

I have flags that indicate which graphs to do. I usually want to
draw all three graphs, so I do: "FOO, 1,1,1" at the IDL prompt. If I
want only the middle graph, it would be "FOO, 0,1,0" - and so on. So,
for now, I can solve the problem by calling the program three separate
times (1,0,0; 0,1,0; 0,0,1). But there must be a better way. I built
the flags for reasons other than to work around this problem, and in
fact before I noticed the problem, so it's not a big deal for the time
being. But I'd like to know how to do this without the kludge.

TIA,
Andrew
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: color_quan(...., Cube=6) makes white white, but ...
Next Topic: TVSL & PS

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

Current Time: Fri Oct 10 08:14:53 PDT 2025

Total time taken to generate the page: 2.00173 seconds