[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Legend compatibility help
From: |
Rik |
Subject: |
Legend compatibility help |
Date: |
Wed, 02 Oct 2013 09:24:41 -0700 |
10/2/13
Could someone with access to Matlab run the following?
## Test if there is a listener on DisplayName property
h = plot (rand (3,3));
hl = legend ();
## At this point, legend is data1, data2, data3
set (h(1), 'DisplayName', 'This is a Long String')
## Is legend updated?
## What about doing?
legend hide
legend show
## Is legend updated now?
## What does Matlab display for surface objects?
z = peaks ();
surf (z);
hl = legend ("surf1");
print -dpng surfleg.png
## Similarly, what does Matlab display for contour objects?
contourc (z);
hl = legend ("contour1");
print -dpng contourleg.png
Thanks in advance,
Rik
- Legend compatibility help,
Rik <=