Legend labels order

John W. Eaton jwe at octave.org
Thu Jul 23 10:16:40 CDT 2009


On 23-Jul-2009, Ben Abbott wrote:

| Shall a demo be included for hggroups as well?
| 
| %!demo
| %! clf
| %! bar (rand (2, 3))
| %! ylim ([0 1.2])
| %! legend ({"1st Bar", "2nd Bar", "3rd Bar"})

I added a stem plot, but this would also be fine.  Please also use the
form

  legend ("1st Bar", "2nd Bar", "3rd Bar")

in a hggroup demo so we also test that way of setting the legend.

jwe


More information about the Bug-octave mailing list