|
|
|
GraphDestroy agraph
Command to destroy the Graph agraph. When a variable still points to the graph and you call another GraphXXX primitive with that var then an error occurs, because the graph has then been destroyed and cannot be used anymore. Sometimes you need to resize the parent frame a bit to clean rubbish from the graph, I don't know why but it helps.
Example:
f=Frame [][MyFrame][][100 100][400 300] g=Graph f FrameSetClientSize f 400 300 boundingbox rbox GraphDestroy g |
|
|
|