graph -- create and manipulate Tk widgets capable of rendering MathViews figures.


Synopsis

graph pathName ?arg arg ...?

Package

MxtGr

Description

A MathViews interpreter created by the minterp command maintains a set of named virtual figures. A Tk widgets created by the graph command can subscribe to a MathViews figure. A graph widget subscribed to a MathViews figure immediately displays any changes to the contents of that figure. If the figure is cleared or deleted, the widget will appear blank. Although a graph widget can display the contents of a single MathViews figure, a figure can have multiple graph widget subscribers -- this means multiple graph widgets can simultaneously render a single figure. The contents of a graph widget can change only if the underlying figure changes. The figure, in turn, can only change if it is designated as the current figure by MathViews interpreter and MathViews plotting commands have been invoked against the figure. (see the documentation of minterp for more details on this issue).

The graph widget supports several configuration properties. These options can be specified in any combination as arguments to the configure option or as arguments to the widget creation command.

To query the values of all the properties, pass no arguments to the configure option. To query the value of a particular property, pass its name to the configure option. For example:

.g1 configure -width

will return the width of graph widget .g1.


The MathWizards

Last modified: Thu Nov 26 11:47:41 PST 1998