Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to ignore an entry in Legend

3 views
Skip to first unread message

Victoria Emberle

unread,
Oct 22, 2010, 5:31:03 PM10/22/10
to
My code repeats itself once and replots lines on the first runs plot. There is one line that overlaps itself and the legend will record the two lines and I would like to ignore one entry.

This is part of my code:

%Plot the curves
%Figure for Measured and Calculated Profiles



figure(1);
%clf;
subplot(2,1,1); plot(measuredProfileRawInterpSmoothPos,measuredProfileRawInterpSmoothDose,analysisProfilePos,analysisProfileDose);
axis([0 max(measuredProfileRawInterpPos) 0 max(measuredProfileRawInterpDose)*1.1])




title('Comparing Profiles')
LEGEND('-DynamicLegend','measuredProfile','analysisProfile','measuredProfile','calculatedProfile')

hold all


The problem is I need to use -DynamicLegend, Is there some symbol I could put in front of string to ignore it??

0 new messages