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: anonymous
Subject: [Octave-bug-tracker] [bug #29057] __errplot__.m plots legends without markers
Date: Mon, 26 Apr 2010 20:44:31 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

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

While the proposed patches allow explicit setting of color for error plots,
the fact still remains that I can't get the legend to show the markers for
errorbar. Please note that for a corresponding "plot" (leaving out the error
arguments), the legend does show the markers as expected.

For example (assuming the definitions from my example in the original bug
report):

plot (x, y1, "-*", x, y2, "-+"); 
legend("left"); 
legend("sin", "cos", "location", "southwest"); 

This produces markers in the legend as well as in the main figure.

However,

errorbar (x, y1, err, "-*", x, y2, err, "-+"); 
legend("left"); 
legend("sin", "cos", "location", "southwest"); 

Produces a legend without the markers. The patch you gave below allows the
markers to show in the main figure without using the Octave-specific "~".


    _______________________________________________________

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]