TexNet32 - 2D and 3D Displays

Two special kinds of graphic display are available from the "Tools" menu. These displays show labeled nodes in two-dimensional or three-dimensional space.

TwoD

This display allows you to generate labeled scatterplots in which you can adjust the positions of individual labels. Input may take two forms: a file of node labels with x and y coordinates or a file of node labels and node similarity values.

File menu

The "Open..." option allows you to import from a plain-text (*.xy) file of node labels and x and y coordinates. Each line in the file should be of the form
    LABEL,x,y
for example,
    DATE,16,7

The "From similarity file..." option allows you to import from a plain-text (*.coo) file of node labels and node similarity values. Each node label and similarity value should appear on a separate line. Each node label line should be followed by a node similarity line for each of the preceding node labels; for example, a similarity file might begin

    CAPABILIT
    DATA
    0
    DATABAS
    3
    0
    FIL
    0
    5
    0
After you select the file, TexNet32 uses an iterative procedure to fit the data to the two-dimensional space; when the procedure is finished, a message box is displayed showing the amount of stress in the fitting and a weighted average of the stress over previous iterations.

Edit menu

You can use the "Next node" and "Previous node" options (or press Tab or Shift-Tab) to select different nodes in the display. (You can also select a node by clicking on it.)

You can move the label for the current node by using the options in the "Move label" submenu, or by dragging on the label with the mouse or by pressing the cursor control keys. Note that using options in the "Chart" menu will cause the label positions to be reset. So, save minor adjustments to label positions for the end.

To change the text of the label, use the "Edit label" option or double-click on the label.

Chart menu

Use the options in this menu to change the title at the top of the display, the visibility, titles, scaling, and marker intervals of the axes, and the displacement of the origin in pixels from its normal place near the bottom left.

The "Separate labels" option, repositions the labels so that none are overlapping. You can generally achieve better results by repositioning the labels by hand, however.

The "Zoom" options can be used to show more clearly particular areas where many nodes are crowded together; when zooming, TexNet32 always attempts to keep the currently selected node in the center.

Tools menu

The "Create similarity file..." option allows you to create new similarity (*.coo) files based on stem cooccurrences in existing text files. When you select this option, a "Create cooccurrence file" window will appear. This window allows you to select an input file, an output (similarity/cooccurrence) file, suffix and stoplist files (by default, these are the Suffixes.txt and Stoplist.txt files supplied with TexNet32), and the maximum number of words that can intervene between two stems for them to be considered as cooccurring. Click on the "Go" button to create the similarity file.

The similarity file may cover up to 100 stems. If more than 100 stems are found in the input file, less frequent stems are eliminated. Even a stem count of 100 or somewhat less, however, makes for a similarity file that does not display well in the two-dimensional display.

Note that you can create a similarity file from the text in the "Full text" window in TexNet by selecting the "Graph coocurring words" option from the "Other" menu. Similarity files created with this option are typically much smaller and easier to fit into two dimensions.

ThreeD

This display allows you to view labeled nodes in three-dimensional space. An earlier version of this display is described in

File menu

The "Open" option allows you to load a plain-text (*.xyz) file of node labels with x, y, and z coordinates. Each line in the file should be of the form
    LABEL,x,y,z
for example,
    FOOD,0.525,0.278,0.152

The "From similarity file..." option allows you to import from a plain-text (*.coo) similarity file, as described above for the two-dimensional display. When you select this option, a "3D Clustering" window will appear, which allows you to select the similarity file and the node diameter (minimum separation desired between nodes). To proceed with the import, click on the "Go" button. A "Stop" button is also provided in case you find that the fitting process is taking too long. The number of iterations and the current stress value will be displayed as processing continues. To close the "3D Clustering" window, click on its "Close" button.

The "Save as..." option allows you to save the currently displayed nodes and their coordinates to a *.xyz file.

The "Export to VRML..." option allows you to create a VRML *.wrl file from the node labels and coordinates. The appearance of this file in a VRML viewer will be somewhat similar to that in the TexNet32 display, but with some differences; notably, the lighting scheme is different, and labels will not rotate to face the observer.

View menu

A number of submenus in this menu show keyboard shortcuts in parentheses. Note that these keyboard shortcuts work only if the corresponding option has been chosen from the "Keypad" menu.

A "Refresh" option is provided in case the display somehow becomes corrupted.

The "Boxes" submenu allows you to choose opaque and transparent (wireframe) boxes to represent the nodes instead of the default small circles, and to adjust the size of the node boxes up or down.

The "Show eclipse value" option allows you to toggle on and off display in the status bar of a measure of how much node boxes are obscuring other node boxes.

The "Frames" submenu allows you to control whether the framing rectangles, designed to provide additional spatial clues to the viewer, appear or not, and at how frequent intervals.

The "Grid" submenu allows you to control whether grid lines will appear and at how frequent intervals.

The "Look" submenu allows you to scroll the display from left to right and up and down and to zoom in and out without changing the viewpoint.

The "Move viewpoint" menu allows you to change the position of the observer relative to the nodes. A "good" position is considered to be one that shows as many of the nodes as possible. Before using the "To face selected node" option, you must first select a node by clicking on the small circle that represents it or, if boxes are displayed, on the face of its box.

The "Rotate" menu allows you to rotate all the nodes in various directions around the origin. A "good" position is considered to be one that shows as many of the nodes as possible.

The "Switch to" menu allows you to change the coordinates of the nodes so that you appear to be looking at them from a different side. An advantage of these options over other options such as those involving rotation is that it is very easy to return to the original view by just selecting "Front".

The "Text" submenu allows you to choose whether node labels appear in full or whether they are truncated to fit box sizes, and to adjust the size of the text used to display the node labels.

Keypad menu

This menu allows you to select which submenu of the "View" menu keypresses on the keypad will apply to. The relevant keys are identified in parentheses in the "View" menu's submenus. The default is for the keypad to refer to the "Look" submenu, which means that pressing cursor control keys will scroll the display.

Tools menu

The "Create similarity file..." option allows you to create new similarity (*.coo) files based on stem cooccurrences in existing text files. It works in the same way as the "Create similarity file..." option in the "Tools" menu of the 2D display.
Last updated February 5, 2008, by Tim Craven