Re: dup_plot question/problem

From: John Houck <houck_at_email.domain.hidden>
Date: Wed, 11 Jan 2006 15:17:36 -0500
On Wed, Jan 11, 2006 at 12:51 -0500, David P. Huenemoerder wrote:
> It looks like multiplot() confuses dup_plot().  I was trying to make
> two plots per page by specifying 2 rows, 1 column with open_plot(),
> but also use multiplot() to split the top window.  Without
> multiplot(), the postscript file set up with dup_plot() is OK - it has
> one page, two plots.  However, if I modify the example to split the
> top plot with multiplot(), it is as desired on the screen, but the ps
> file from dup_plot() comes out on two pages.
>
> Is this a bug? a feature?  I haven't used dup_plot() much, but thought
> I'd would to see if I could save myself repeated plot configuration
> for the ps version.
>

The short answer is that this kind of thing isn't fully
supported. The fact that multiplot worked in your example is a
"feature". I'm not surprised that dup_plot didn't do what you
expected.

As a workaround, is it reasonable to write a function to create
the plot for a given device and then simply call that function
twice?  That would bypass dup_plot and should produce the same
plot for all devices.

Regarding dup_plot:

Without getting into the details, isis assumes that a plot
window consists of N panes which are all of the same type.
Either all panes are defined by PGPLOT through the open_plot
call or all panes are defined by ISIS through multiplot.

Using multiplot wipes out some of the formatting information
that was specified by open_plot.

Since ISIS doesn't currently consider this information loss to
be an error, you were able to use multiplot create a plot of a
type which is technically not supported. One might argue that
if dup_plot can't support such a plot, perhaps ISIS shouldn't
let you create it in the first place -- but I think that's much
too restrictive.

I'll look at the code to see what it would take for isis to
support these kinds of plots.  If major changes aren't needed,
I'll try to get this to work.  If I can't make it work without
an extensive rewrite, I'll try to clarify the documentation to
explain the issue.

Thanks,
-John
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Wed Jan 11 2006 - 15:17:50 EST

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT