I have just added another recipe in the CookBook,
have a look and see if it is of any help.

http://wiki.jach.hawaii.edu/pdl_wiki-bin/wiki/How_to_plot_graphs_with_two_different_pairs_of_axis_on_the_same_plot

 Any comments appreciated.

 Xavier


On 2/27/07, Robert Cumming <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>,
Rahman Amanullah <[EMAIL PROTECTED]> wrote:
> you can solve this by passing the an array ref with the PlotPosition
> option to env. For example
>   env(0,1,0,1,{PlotPosition=>[0.1,0.9,0.1,0.5]});
>   points(...)
>   env(0,1,0,1,{PlotPosition=>[0.1,0.9,0.5,0.9]});
>   lines(...)

That works nicely for each plot, but now all my panels get drawn on
top of one another.  In the last panel position, what's more.

I've tried putting in a release() after each env-points-etc block, but
that seems to have no effect.

/Robert

> On Fri, 2007-02-23 at 17:48 +0100, Robert Cumming wrote:
>> I've made some progress with PDL::Graphics::PGPLOT.  Now I want to try
>> generating plots with boxes of different dimensions and different
>> scales on the same page.
>>
>> Now I've stared at the manpage (and the one for Window) quite a lot
>> and I'm still not sure whether that's possible and if so, how.
>>
>> Should I be thinking of multiple Windows in the same device, or
>> multiple envs in the same window, or what?  Any pointers (or
>> examples!) would be really welcome.
--
Robert Cumming, Stockholms observatorium
http://www.astro.su.se/

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to