How to ignore an entry in Legend

  • Follow


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
Reply Victoria 10/22/2010 9:31:03 PM


0 Replies
503 Views

(page loaded in 0.393 seconds)

Similiar Articles:













7/24/2012 12:22:16 AM


Reply: