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

1 vue (au cours des 30 derniers jours)
Syed
Syed le 14 Jan 2020
Modifié(e) : Ajay Kumar le 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 commentaire
Ankit
Ankit le 14 Jan 2020
Is it possible to post your code for this plot?

Connectez-vous pour commenter.

Réponses (1)

Ajay Kumar
Ajay Kumar le 14 Jan 2020
Modifié(e) : Ajay Kumar le 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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by