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

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

[Octave-bug-tracker] [bug #39243] change to {x, y}data does not update b


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39243] change to {x, y}data does not update bar()
Date: Thu, 13 Jun 2013 02:40: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/?39243>

                 Summary: change to {x,y}data does not update bar()
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Wed 12 Jun 2013 10:40:49 PM EDT
                Category: Plotting with OpenGL
                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 code below should ultimately render 10 bars of random height.


 N = 10;
 xdata = 1:N;
 ydata = rand (1, N);
 h = bar (xdata (1));
 xlim ([0, 11])
 for n = 2:numel(xdata)
   set (h, "xdata", xdata(1:n), "ydata", ydata(1:n))
   drawnow ()
   pause (0.2)
 end


The fltk toolkit only renders the first bar.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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