[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #30461] legend should work for lines with diff
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #30461] legend should work for lines with different parents |
Date: |
Fri, 16 Jul 2010 11:21:52 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4 |
URL:
<http://savannah.gnu.org/bugs/?30461>
Summary: legend should work for lines with different parents
Project: GNU Octave
Submitted by: bpabbott
Submitted on: Fri 16 Jul 2010 07:21:51 AM EDT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: bpabbott
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Mac OS
_______________________________________________________
Details:
The plotyy command uses two different axes to produce the impression of two
y-axes. Using the legend command only labels the *single* line corresponding
to the current axes (the 2nd is not labeled).
This can be seen using the example below. Only sin(x) is included in the
legend.
x = 0:0.1:10;
plotyy (x, sin (x), x, cos (x))
legend ("sin(x)" , "cos{x)")
In the Matlab implementation, both are labeled.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30461>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #30461] legend should work for lines with different parents,
Ben Abbott <=