i need to know why is the scale of the x-axis on my graphs differ from one another.

2 ビュー (過去 30 日間)
omar mahallawy
omar mahallawy 2019 年 2 月 27 日
コメント済み: omar mahallawy 2019 年 2 月 27 日
i have 3 graphs, x-axis should stop at 3.2*10^5
two of my graphs are correct but the first one is doubled for some reason.
the graph looks correct with two parallel lines and a vertical line connecting them, but the point 2 should be at point 1.
becasue the graph should end at 3.2*10^5 not 6.4*10^5
the code is attached too as a
matlab.PNG

回答 (1 件)

Jesus Sanchez
Jesus Sanchez 2019 年 2 月 27 日
it seems that you have the signal duplicated in the first graph. if you want to "adjust" the span of the xaxis, I would give a look to XLIM
  1 件のコメント
omar mahallawy
omar mahallawy 2019 年 2 月 27 日
unfortunatly, adjusting the span only crops thr graph to the limits i set.
it doesn't really allow me adjust the plot it self

サインインしてコメントする。

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by