I have several axes in a figure that get replotted using different coordinate systems. When the grid and ticks are moved, the old tick labels are not deleted before the new tick labels are displayed, resulting in an unreadable mess. Any suggestions?
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
MathReallyWorks
2017-5-15
Hello Dear,
You have not attached your code, so it is a bit difficult to evaluate your problem and give a proper solution of that.
But from your output window, I can say that your current graphical window has overlapped with your previous one which is resulting in an unreadable mess.
Use clf(); in your code. It clears the content in previous graphical window.
If you don't want to clear previous window, then use "figure" just above your plot function. It will open a new graphical window.
I hope this will be helpful.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!