Plot diagramm, i have overlapping axes.
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1024665/image.png)
I have two overlapping X-Axes on the left side of the plotted diagram. How can i delete the blue coloured x-Axes?
Thanks!
3 个评论
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 个)
MJFcoNaN
2022-5-22
The TiledChartLayout object may not be an input of 2nd axes in your code.
You can try to change
ax2=axes(t);
to
yyaxis left
ax2=gca;
4 个评论
MJFcoNaN
2022-5-26
:)
ps: I still have concern that overlapping two axes to create a diagram. But it seems that Matlab does not provide two-x & two-y plot function, it is a workaround.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!