Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3110 > unrolled thread

How to clear a plot window?

Started byJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
First post2015-10-23 14:45 +0200
Last post2015-10-26 14:38 +0100
Articles 3 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  How to clear a plot window? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-10-23 14:45 +0200
    Re: How to clear a plot window? Karl Ratzsch <mail.kfr@gmx.net> - 2015-10-23 16:44 +0200
      Re: How to clear a plot window? Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2015-10-26 14:38 +0100

#3110 — How to clear a plot window?

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2015-10-23 14:45 +0200
SubjectHow to clear a plot window?
Message-ID<alpine.WNT.2.20.1510231437390.3840@dhcp3-6>
I have a first page with 2 plots using muliplot, pause -1 and a second page 
also with 2 plots using multiplot.

A present the plots of page 2 overlap the plots of page 1. Is there a command 
to clear the first 2 plots after I reply OK to the Pause window?

Regards.
-- 
Jean-Pierre Coulon

[toc] | [next] | [standalone]


#3111

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2015-10-23 16:44 +0200
Message-ID<n0dh41$6rh$1@solani.org>
In reply to#3110
Am 23.10.2015 um 14:45 schrieb Jean-Pierre Coulon:
> I have a first page with 2 plots using muliplot, pause -1 and a second page 
> also with 2 plots using multiplot.
> 
> A present the plots of page 2 overlap the plots of page 1. Is there a command 
> to clear the first 2 plots after I reply OK to the Pause window?

The command "clear", nomen est omen, clears the terminal window.

But you should generally enclose both pages between a pair of "set
multi", "unset multi" commands each.

	set multi
	  plot x
	  plot y
	unset multi
	pause-1
	set multi
	  plot x2
	  plot y2
	unset multi

  KArl

[toc] | [prev] | [next] | [standalone]


#3112

FromJean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr>
Date2015-10-26 14:38 +0100
Message-ID<alpine.WNT.2.20.1510261436040.6944@dhcp3-6>
In reply to#3111
On Fri, 23 Oct 2015, Karl Ratzsch wrote:

> But you should generally enclose both pages between a pair of "set
> multi", "unset multi" commands each.

Works fine, thanks. I had done the mistake to say unset multi after pause -1. 
So I obtained the 2nd page twice instead of the normal succession.

Bye
-- 
Jean-Pierre Coulon

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web