octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39234] listner for stem's xdata not fuctionin


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39234] listner for stem's xdata not fuctioning compatibly
Date: Wed, 12 Jun 2013 00:20:50 +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

URL:
  <http://savannah.gnu.org/bugs/?39234>

                 Summary: listner for stem's xdata not fuctioning compatibly
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Tue 11 Jun 2013 08:20:50 PM EDT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The "catch" code is not triggered in Matlab.


hf = figure (1);
N = 20;
x = 0:(N-1);
y = rand (1, N);
hs = stem (x(1), y(1));
set (gca (), 'xlim', [1, N], 'ylim', [0, 1]);
for k=2:N
  pause (0.2);
  try 
    set (hs, 'xdata', x(1:k), 'ydata', y(1:k));
  catch
    set (hs, 'xdata', x(1:k), 'ydata', y(1:k));
    printf ('catch at k= %d\n', k);
  end
  drawnow ();
end


I haven't looked yet, but my guess is that the xdata listener for the hggroup
isn't working properly.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39234>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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