A plotter produces graphical output for an object from the program.
Implementations:
Inspector_Geomview Produces plots for geomview, either by saving a file in Geomview's
format, or by interacting with a running Geomview process. The tools page discusses Geomview in more
detail.
Approaches:
Write to a file: provide the constructor with the file pointer.
Run as a Geomview module: provide the constructor with a UI and
the stdout file pointer.
Run with pipes to Geomview: provide the constructor with a UI
names of pipes; issue the following command in Geomview: (command
"to_gv" "from_gv") using the appropriate pipe names.
Other constructor args: whether or not to show location of mouse
click, callback for mouse click, whether or not to plot axes.
Inspector_Tk_Canvas Plots using a Tk Canvas.
Constructor args: UI_Tk, window name, window size, callbacks for mouse
click on object and generic mouse click.
Inspector_Tk_Pixels Plots using raw X plotting calls to a Tk-managed window.
Constructor args: UI_Tk, window name, whether or not to track mouse,
whether or not to force display on update, callback on mouse click.