how to remove the remaining part of my plot

조회 수: 1 (최근 30일)
Lim Miso
Lim Miso 2015년 12월 9일
편집: Mike Garrity 2015년 12월 9일
as you can see my attachment, i draw a moving box by using FOR and FILL.
The problem is that i can not reamove the remaining part of my box.
I hope remove the remains of the box.
  댓글 수: 2
Walter Roberson
Walter Roberson 2015년 12월 9일
Nothing was attached?
Lim Miso
Lim Miso 2015년 12월 9일
my mistake. This is my attachment.

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

답변 (1개)

Mike Garrity
Mike Garrity 2015년 12월 9일
편집: Mike Garrity 2015년 12월 9일
The function fill has a return argument. This is called a 'handle'. The handle has a delete method which you can call to get rid of an object you don't want in the picture any more.
Alternatively, you can use the handle to modify the object you've already created instead of deleting it and creating a new one. See the set function for how you would do that.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by