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: Tue, 27 Apr 2010 22:19:32 +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 #26, bug #29057 (project octave):

@Soren
Run one of the errorbar examples before looking at the markers.

@Jarno and Ben
The markers can already be cycled through by setting the colororder property
to a 1 by 3 vector for the color and then setting the linestyleorder to
something like "+o*" for example

For example

x = [0:0.5:2*pi]';
err = x/50;
y1 = sin (x);
y2 = cos (x);
set(gca(), "colororder", [1, 0, 0], "linestyleorder", "-+|-o|-*");
h1 = errorbar ([x, x], [y1, y2], [err, err]);
legend ('left')
legend ('sin', 'cos', 'location', 'southwest')

though this currently fails as errorbar doesn't respect the linestyleorder
property. The attached patch that I committed adds this and also allows the
linestyle to be set with the errorbar style (for example ("~-o" is a valid
style).

@Rik
I thought we could get gnuplot not to print a marker at all rather than using
the ".". It seems what you propose is the right thing to do. Can you commit
your patch? I believe and my changeset will close this bug (or rather feature
request given the details that this has involved).


(file #20352)
    _______________________________________________________

Additional Item Attachment:

File name: changeset.errorstyle           Size:4 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]