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

Home » Public Forums » archive » Re: Oplot in multiple plots (extending over 2 pages)
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
Re: Oplot in multiple plots (extending over 2 pages) [message #78367] Mon, 21 November 2011 05:35
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Cristina writes:

> Do you mean that once !p.multi clears the page (with the 0 in [0,2,2])
> is impossible to keep track of the system variables of those plots? or
> am I doing something wrong?

No, I mean once you move to a new "page" of PostScript
output, you can no longer write on the previous page.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Oplot in multiple plots (extending over 2 pages) [message #78368 is a reply to message #78367] Mon, 21 November 2011 04:20 Go to previous message
Cristina is currently offline  Cristina
Messages: 2
Registered: November 2011
Junior Member
On Nov 18, 3:28 pm, David Fanning <n...@dfanning.com> wrote:
> Cristina writes:
>> I've searched the forum concerning overplotting of data on plots other
>> than the last draw one. I can do this restoring the system variables
>> in the way indicated when I have only plots on one page, i.e. 4 plots
>> in 1 page set with p!.multi:
>>    !p.multi=[0,2,2]
>>    plot,[0,10], & x1=!x & y1=!y & p1=!p
>>         plot,[0,10], & x1=!x & y2=!y & p2=!p
>>         plot,[0,10], & x2=!x & y3=!y & p3=!p
>>         plot,[0,10], & x3=!x & y4=!y & p4=!p
>>         !x=x1 & !y=y1 & !p=p1 & oplot,[10,5]
>> This overplots data in plot 1.
>>  But when I have 7 plots extending over 2 pages (in a .ps output
>> file), i.e.:
>>        !p.multi=[0,2,2]
>>         plot,[0,10], & x1=!x & y1=!y & p1=!p
>>         plot,[0,10], & x2=!x & y2=!y & p2=!p
>>         plot,[0,10], & x3=!x & y3=!y & p3=!p
>>         plot,[0,10], & x4=!x & y4=!y & p4=!p
>>         plot,[0,10], & x5=!x & y5=!y & p5=!p
>>         plot,[0,10], & x6=!x & y6=!y & p6=!p
>>         plot,[0,10], & x7=!x & y7=!y & p7=!p
>
>>         !x=x1 & !y=y1 & !p=p1 & oplot,[10,5]
>>         !x=x2 & !y=y2 & !p=p2 & oplot,[10,5]
>>         !x=x3 & !y=y3 & !p=p3 & oplot,[10,5]
>>         !x=x4 & !y=y4 & !p=p4 & oplot,[10,5]
>>         !x=x5 & !y=y5 & !p=p5 & oplot,[5,0]
>>         !x=x6 & !y=y6 & !p=p6 & oplot,[5,0]
>>         !x=x7 & !y=y7 & !p=p7 & oplot,[5,0]
>> I then get the 7 plots, but overplotting only works in the 5,6 and
>> 7th  (although data that should have been overplotted in the 1-4th
>> plots are plotted over the 5,6&7th too) and there are also data
>> plotted in the white space of the possible 8th plot.
>
> I am afraid you are going to have to figure out some
> way to do your overplotting before you leave the PostScript
> page.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")


Do you mean that once !p.multi clears the page (with the 0 in [0,2,2])
is impossible to keep track of the system variables of those plots? or
am I doing something wrong?

Thanks!
Re: Oplot in multiple plots (extending over 2 pages) [message #78382 is a reply to message #78368] Fri, 18 November 2011 06:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Cristina writes:

> I've searched the forum concerning overplotting of data on plots other
> than the last draw one. I can do this restoring the system variables
> in the way indicated when I have only plots on one page, i.e. 4 plots
> in 1 page set with p!.multi:
> !p.multi=[0,2,2]
> plot,[0,10], & x1=!x & y1=!y & p1=!p
> plot,[0,10], & x1=!x & y2=!y & p2=!p
> plot,[0,10], & x2=!x & y3=!y & p3=!p
> plot,[0,10], & x3=!x & y4=!y & p4=!p
> !x=x1 & !y=y1 & !p=p1 & oplot,[10,5]
> This overplots data in plot 1.
> But when I have 7 plots extending over 2 pages (in a .ps output
> file), i.e.:
> !p.multi=[0,2,2]
> plot,[0,10], & x1=!x & y1=!y & p1=!p
> plot,[0,10], & x2=!x & y2=!y & p2=!p
> plot,[0,10], & x3=!x & y3=!y & p3=!p
> plot,[0,10], & x4=!x & y4=!y & p4=!p
> plot,[0,10], & x5=!x & y5=!y & p5=!p
> plot,[0,10], & x6=!x & y6=!y & p6=!p
> plot,[0,10], & x7=!x & y7=!y & p7=!p
>
> !x=x1 & !y=y1 & !p=p1 & oplot,[10,5]
> !x=x2 & !y=y2 & !p=p2 & oplot,[10,5]
> !x=x3 & !y=y3 & !p=p3 & oplot,[10,5]
> !x=x4 & !y=y4 & !p=p4 & oplot,[10,5]
> !x=x5 & !y=y5 & !p=p5 & oplot,[5,0]
> !x=x6 & !y=y6 & !p=p6 & oplot,[5,0]
> !x=x7 & !y=y7 & !p=p7 & oplot,[5,0]
> I then get the 7 plots, but overplotting only works in the 5,6 and
> 7th (although data that should have been overplotted in the 1-4th
> plots are plotted over the 5,6&7th too) and there are also data
> plotted in the white space of the possible 8th plot.

I am afraid you are going to have to figure out some
way to do your overplotting before you leave the PostScript
page.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 7.1 on Mac os Lion
Next Topic: unicode conversion

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

Current Time: Wed Oct 08 11:33:20 PDT 2025

Total time taken to generate the page: 0.00559 seconds