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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by