Plot diagramm, i have overlapping axes.

4 Ansichten (letzte 30 Tage)
Mapete
Mapete am 21 Mai 2022
Kommentiert: Rik am 7 Jun. 2022
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 Kommentare
Mapete
Mapete am 22 Mai 2022
U can just scroll the screenshot to the right side.
Rik
Rik am 7 Jun. 2022
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

MJFcoNaN
MJFcoNaN am 22 Mai 2022
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 Kommentare
Mapete
Mapete am 22 Mai 2022
Thank you very much!
It worked :)
MJFcoNaN
MJFcoNaN am 26 Mai 2022
:)
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by