Deleting legends from subplot
128 views (last 30 days)
Show older comments
Commented: RUBINEI DORNELES MACHADO on 3 May 2020
I have many figures. Each figure have 2 graphs. I want to delete legends in 2 graphs.
Azzi Abdelmalek on 27 Mar 2016
Edited: Azzi Abdelmalek on 27 Mar 2016
Look at this exampe
%---delete the legend-------------
RUBINEI DORNELES MACHADO on 3 May 2020
Hi ... if you need delete specific legend in position x:
More Answers (1)
MHN on 27 Mar 2016
Edited: MHN on 27 Mar 2016
Open your figure and type in the command line:
If you have many figures, put this in a loop and save the figure after hiding the legend.
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!