How can I delete legends from a plot or subplot?
이전 댓글 표시
When I plot the model returned by the "fitlm" function, a legend is automatically added to the plot. I am creating multiple subplots, and would like to remove repetitive legends. How can I do this?
채택된 답변
추가 답변 (1개)
Open your figure and type in the command line:
legend('hide')
If you have many figures, put this in a loop and save the figure after hiding the legend.
카테고리
도움말 센터 및 File Exchange에서 Legend에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!