Main Visualization Tool¶
- Help
- Directs you back to this web page for help.
- State Info
- Opens a new window in which the current state is printed as text. This is useful to check that you are plotting what you think you are, and make sure nothing unpleasant like a singular matrix was encountered.
- Save State
- Opens a file dialog window that allows the state to be saved. The state includes all the parameters needed to recover the visualization, but does not include things like the latest rectangle rendered to.
- Exit
- Exit the visualization tool, but not its parent. Multiple visualizations can be run from the same parent.
- Update
- Change the plotting rank. This allows one to keep the same tensors to define the line/plane. If the rank is increased then plotted points are retained; otherwise they are cleared.
- Render to
The user specifies a rectangle to render to, noting that there is a tensor defining the line/plane at and one at . The user then gives a filename (default tmp) and this button writes an encapsulated postscript file that one can then view to actually see the visualization. In linux that means open a shell and type:
gv tmp.eps&
If one is using gv, then one can set its “State” to “Watch file” so it will reload whenever you re-render.
- ALS
- The user specifies a rectangle and a number of points with which to discretize that rectangle in each direction. Tensors on the plane at those grid points are constructed, and then fit to with a tensor of the rank being plotted. These approximations are then plotted.
- Crop
- The user specifies a rectangle, and all points falling outside this are permanantly deleted. Note that the “Render to” button does not plot points outside of its rectangle anyway.
- Trim Covered
- Remove plotting discs that are (mostly) covered by darker disks. This uses a niave, heuristic algorithm. It does produce a smaller state to save.
- Line
- This button is only available for visualizations over the real numbers. The user specifies a pair of to connect with a line. The indexing starts at 0, so valid pairs are (0,1), (0,2), (1,2), and permutations. The user then gives the (parametric) start and end points of the line, with (0,1) corresponding to the line segment that just connects the two points. The user also gives the number of points/tensors to use along the line. If the tensors along the line have rank larger than the plotting rank, then the line is refused.