Graphics > Graphics Methods > Delete Method

# Delete Method

The Delete method deletes a graphic.

## Example

Copy and paste the first two lines to the IDL command line to draw the plot and the text annotation. Then paste the last line separately to see how it deletes the annotation.

plot = PLOT(/TEST)

t1 = text(0.5, 0.8, 'Text 1')

t1.Delete

## Syntax

graphic.Delete

## Arguments

None

## Keywords

None

## Version History

8.1 | Introduced

## See Also

Select Method