The plot is exceeding the boundaries of the box in a figure.
古いコメントを表示
Hello all,
I am trying to plot my data using stem command but I see the data is exceeding the boundaries of the box in the figure.
Please see the attached image.
Can someone help me to fix this problem.

Thank you
1 件のコメント
Ankit
2020 年 1 月 14 日
Is it possible to post your code for this plot?
回答 (1 件)
Ajay Kumar
2020 年 1 月 14 日
編集済み: Ajay Kumar
2020 年 1 月 14 日
Did you turn off the Clipping ?
Try this after plot:
ax = gca; % get the current axis
ax.Clipping = 'on'; % turn clipping on
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!