The plot is exceeding the boundaries of the box in a figure.
4 ビュー (過去 30 日間)
古いコメントを表示
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.
![error.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261527/error.jpeg)
Thank you
回答 (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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Stem Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!