Contents Previous Next Subchapters

Deleting A Viewport
Syntax gdelview(identifier)
See Also gaddview , ginitview , glistview , gview

Description
Deletes the viewport specified by identifier, where identifier is an integer scalar. The identifier for a viewport is returned when it is created by gaddview , the identifier for the current viewport can be obtained using gview , and a list of all the viewport identifiers for the current graphic window can be obtained using glistview .

Example
If you enter
     ginit
     x = -1. : .1 : 1.
     line = gaddview(0., 0., 1., .5)
     gplot(x, x)
     parabola = gaddview(0., .5, 1., .5)
     gplot(x, x^2)
O-Matrix will draw a line and a parabola. You can erase the line by entering
     gdelview(parabola)