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

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

[Octave-bug-tracker] [bug #29057] __errplot__.m plots legends without ma


From: David Bateman
Subject: [Octave-bug-tracker] [bug #29057] __errplot__.m plots legends without markers
Date: Mon, 26 Apr 2010 20:47:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Follow-up Comment #12, bug #29057 (project octave):

The "~" marker in octave just means use yerr bars, it was the "@" marker that
was an octave feature that cycled through the markers. This was removed I
think in 3.1.x series sometime when the graphic properties were worked on and
temporarily readded a few months ago till it became obvious that using a 1x3
value in colororder and a linestyleorder property is the matlab compatible way
of implementing this. There is no octave feature that cycles through the
markers in the development version of Octave.

The errorbar series hggroup has a marker property and it can be set. For an
examplem try

x = 0:0.5:2*pi;
err = x/100;
y1 = sin (x);
y2 = cos (x);
errorbar (x, y1, err)
hold on;
h = errorbar (x, y2, err);
set (h(1), "marker", "+")
set (h(2), "marker", "o")
hold off;
legend ('left')
legend ('sin', 'cos', 'location', 'southwest')
print -dpng errorbars2.png

and hey look, the legend has the markers..

D.


(file #20340)
    _______________________________________________________

Additional Item Attachment:

File name: errorbars2.png                 Size:13 KB


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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