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 view (last 30 days)
MathReallyWorks on 15 May 2017
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.