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

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

[Octave-bug-tracker] [bug #52135] bar cannot plot two stacked bars


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #52135] bar cannot plot two stacked bars
Date: Fri, 29 Sep 2017 09:19:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #16, bug #52135 (project octave):

In response to comments #4 and #13: Matlab R2017a


>> bar (1, [3; 4], 'stacked')
Error using bar (line 143)
X must be same length as Y.

>> h = bar (1:4)

h = 

  Bar with properties:

    BarLayout: 'grouped'
     BarWidth: 0.8000
    FaceColor: 'flat'
    EdgeColor: [0 0 0]
    BaseValue: 0
        XData: [1 2 3 4]
        YData: [1 2 3 4]

  Use GET to show all properties

>> h2 = bar ([1 2], [1 2 3 4; 5 6 7 8], 'stacked')

h2 = 

  1×4 Bar array:

    Bar    Bar    Bar    Bar




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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