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

Respuestas (1)

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

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 14 de En. de 2020

Editada:

el 14 de En. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by