MATLAB Answers

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

2 views (last 30 days)
Syed
Syed on 14 Jan 2020
Edited: Ajay Kumar on 14 Jan 2020
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 Comment

Sign in to comment.

Answers (1)

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

  0 Comments

Sign in to comment.

Products