Thread Subject: Plot and DELETE geometric entities

Subject: Plot and DELETE geometric entities

From: Luigi Giaccari

Date: 19 Jan, 2009 16:59:02

Message: 1 of 2

I would like to know which is best way to delete already plotted geometric entities.
For example I plot a few triangles, How can I delete from the figure just one of them?
I mean I would like to avoid to re-plot all them but the one I need to delete.

I am quite an experienced Matlab programmer but I never used graphical tools.

Thanks to all those that will reply.
 

Subject: Plot and DELETE geometric entities

From: nor ki

Date: 19 Jan, 2009 17:13:02

Message: 2 of 2

"Luigi Giaccari" <giaccariluigi@msn.com> wrote in message <gl2bgm$dc9$1@fred.mathworks.com>...
> I would like to know which is best way to delete already plotted geometric entities.
> For example I plot a few triangles, How can I delete from the figure just one of them?
> I mean I would like to avoid to re-plot all them but the one I need to delete.
>
> I am quite an experienced Matlab programmer but I never used graphical tools.
>
> Thanks to all those that will reply.
>

store the handle for each plottet object, you can delete it with delete

help delete

small example:

p = plot(1:5)
pause
delete(p)

hth kinor

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
plot Luigi Giaccari 19 Jan, 2009 12:00:08
geometric Luigi Giaccari 19 Jan, 2009 12:00:08
graphics Luigi Giaccari 19 Jan, 2009 12:00:08
rssFeed for this Thread

Contact us at files@mathworks.com