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.
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 日

0 投票

Did you turn off the Clipping ?
Try this after plot:
ax = gca; % get the current axis
ax.Clipping = 'on'; % turn clipping on

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

製品

質問済み:

2020 年 1 月 14 日

編集済み:

2020 年 1 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by