The plot is exceeding the boundaries of the box in a figure.

8 ビュー (過去 30 日間)
Syed
Syed 2020 年 1 月 14 日
編集済み: Ajay Kumar 2020 年 1 月 14 日
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
Thank you
  1 件のコメント
Ankit
Ankit 2020 年 1 月 14 日
Is it possible to post your code for this plot?

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

回答 (1 件)

Ajay Kumar
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

カテゴリ

Help Center および File ExchangeStem Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by