How to plot shapes in one figure

조회 수: 6 (최근 30일)
nadia nadi
nadia nadi 2021년 10월 18일
댓글: Cris LaPierre 2021년 10월 18일
Dear all,
I'm trying to plot many shapes in one figure. I run my code many times and in each time I got a shape in a new figure. I wonder if I can get the shapes in the first one. I hope someone can advice me what to do.
Thanks

답변 (1개)

Cris LaPierre
Cris LaPierre 2021년 10월 18일
  댓글 수: 4
nadia nadi
nadia nadi 2021년 10월 18일
I have a set of points and I need to draw many shapes among them. I call the file (PlotHo) to plot one shape every time so when I call it again it gives me a new figure with the new shape without join them.
Cris LaPierre
Cris LaPierre 2021년 10월 18일
Share your code. You can either copy/past or attach your script using the paperclip icon.
You could also try going through Ch 9 of MATLAB Onramp, which covers plotting.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by