Thread Subject: plot annotation - matlab

Subject: plot annotation - matlab

From: Irene

Date: 16 Nov, 2009 13:15:06

Message: 1 of 1

Hi

I try to get rid of a legend entry by switching it off as described in the manual:

h5=plot(degra_ctr,'r--');
hA5 = get(h5,'Annotation');
hL5 = get(hA5,'LegendInformation');
set(hL5,'IconDisplayStyle','off');

but unfortunately I get:

??? There is no 'Annotation' property in the 'lineseries' class.

Error in ==> budget_aob at 180
hA5 = get(h5,'Annotation');

I am using Matlab R2007a (7.4.0).
Any ideas what's wrong?

regards
Irene

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com