[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39234] listener triggered before set(...) com

From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39234] listener triggered before set(...) completes
Date: Wed, 12 Jun 2013 03:32:13 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

Update of bug #39234 (project octave):

                Category:   Plotting with gnuplot => Plotting               
                Severity:              3 - Normal => 4 - Important          
                 Summary: listener for stem's xdata not fuctioning compatibly
=> listener triggered before set(...) completes


Follow-up Comment #1:

Bad guess!

The sequence of events is;

(1) The listener for xdata is being triggered when it is set, and before
before ydata is set.
(2) An error is triggered because xdata and ydata have different sizes.  
(3) When the set() command is called the second time, xdata doesn't change, so
the listener isn't updated until the ydata is changed. At which point xdata
and ydata are consistent and the stem plot updates accordingly.

I think the proper solution is to wait until the set() command completes
before triggering a listener (i.e. listener runs "PostSet" in Mathworks


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]