all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#346: plot not cleared after plot() commands following a plotyy()
       [not found] <20080601122424.GA31422@bully.num.umi-sb.de>
@ 2008-06-01 15:42 ` David Bateman
  0 siblings, 0 replies; only message in thread
From: David Bateman @ 2008-06-01 15:42 UTC (permalink / raw)
  To: Thomas Weber; +Cc: submit, Octave Bugs

Thomas Weber wrote:
> thanks
> [let's give the tracker a try]
> 
> [ Octave 3.0.1, gnuplot 4.2 patchlevel 2 ]
> 
> The following code leaves fragments of the plotyy() commands in the
> final plot after the plot() command:
> 
> ===================================================================
> x= 1:10;
> y = 1./x;
> z = 10 *x;
> q = 100*x;
> 
> plotyy(x,y,x,z)
> pause
> plotyy(x,y,x,q)
> pause
> plot(x,y)
> ===================================================================


Not sure how to address this in the bug tracker as it should be marked
as "pending" for 3.1.x and "won't fix" for 3.0.x.. In any case its a
known problem. The thread

http://www.nabble.com/RE%3A--Changeset--plotyy-leaves-traces-of-previous-plots-tt16361090.html

discusses it and I even proposed a patch, that partially addresses the
issue, though potentially causes other problems and so John didn't want
to apply it. The solution that is proposed for 3.1.x is to use the
callback code in the octave-graphics branch to create a callback
function that deals with clearing the plotyy plots in the same manner as
 matlab does. However, we need the new graphics handle code in the main
tree, at least before I'd look at the problem. In any case its one of
the issues I have on my todo list.

D.






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-01 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080601122424.GA31422@bully.num.umi-sb.de>
2008-06-01 15:42 ` bug#346: plot not cleared after plot() commands following a plotyy() David Bateman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.