Second plot accidently with legends from first plot
이전 댓글 표시
Hello, i independantly want to plot the following Data.
But as you can see i have some leftover data from the first plot i made further at the beginning of my script. What is the command to set the plot presets to zero?

댓글 수: 3
Image Analyst
2022년 5월 21일
편집: Image Analyst
2022년 5월 21일
What "following Data"? None is attached or generated by lines of code.
"as you can see i have some leftover data" <= Just how do we see that? All I see are some variables multiplied together followed by a plot command. Where do we see the leftover data? You didn't even include a screenshot of your plot.
Can you read this then fix your post so people at least have a chance of answering it?
Mapete
2022년 5월 22일
Rik
2022년 6월 7일
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
답변 (1개)
Walter Roberson
2022년 5월 22일
cla can be used.
But a lot of a time, you just
hold off
and let it reset itself.
When I look at your plot, I wonder if you used yyaxis? If so then see the tips at https://www.mathworks.com/help/matlab/ref/yyaxis.html#buofqx8-4
카테고리
도움말 센터 및 File Exchange에서 Image Preview and Device Configuration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!