The plot is exceeding the boundaries of the box in a figure.
조회 수: 4 (최근 30일)
이전 댓글 표시
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261527/error.jpeg)
Thank you
답변 (1개)
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Stem Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!