| plot application |
The plot application is used in ALMOND to represent a large variety of 2D plots. In ALMOND there are three main types of 2D plots:
| model plots | represent model properties, like the variation of r2 and q2 for different model dimensionality. |
| object plots | represent objects properties, like object scores |
| variable plots | represent variables properties, like variable loading |
The keyboard.
Some keys are active and serve as shortcuts for different commands in the pop-up menu.
| N | set symbol>>>name |
| X | exit |
The left mouse button
If the User clicks with this button on any point the plot highlights it, shows the name of the object or variable associated and the values of the X and Y variables in this particular plot. To remove this information from the screen click out of the boundaries of the plot (out of the red box)
The middle mouse button
If the User clicks with this button on any point, it will be highlighted with a small red cross, and name of the variable will be copied to the clipboard. Immediately, any plotGrid application open will show this variable highlighted. Refer to the section plot intercommunication for more information about the clipboard.
Any new click will replace the last selected cross. If you want to copy more than one variable to the clipboard keep the <SHIFT> key pressed.
To remove this information from the screen click out of the boundaries of the plot (out of the red box)
The right mouse button
When the User press the right mouse button, a pop-up menu appears on the window

set symbol
The values in 2D plots can be represented by:
| point | a tiny filled point. |
| circle | a tiny open circle. |
| square | a tiny open square (default). |
| number | for variables: the number as defined in
the data file. for objects: the number as defined in the data file. |
| name | for variables: the sequential index of the
variables. for objects: the name as defined in the data file. The same effect is obtained pressing the N key when the cursor is over this window. |
| size | enter a value between 0 and 4 |
symbol color
This option appears in the pop-up menu only when:
- The plot is an object plot (the symbols represent objects)
- The User has defined object types or a spectrum (see File>>>Object types commands).
In this case, this command allows the user to alternate between the color scheme given by the type of objects (the default) and by the spectrum.
label axis
Allows the User to include text in the plot. The text can be introduced in four different positions: horizontal-top, horizontal-bottom, vertical-left and vertical-right. The User is prompted to enter a string in a small box at the bottom of the window. When the User press the <Enter> key, the string is displayed in the selected position.
output
ALMOND can save the contents of 2D plots in three formats: RGB bitmaps, PostScript files and XY ASCII files.
| RGB | Saves the contents of the window in IRIS RGB format. |
| PostScript | Saves the contents of the windows in PostScript format. |
| XY | Saves the data represented in the window in a plain text (ASCII) file. The data in this file is organized in a table which contains three columns separated by tabulation marks; the first column represents the horizontal coordinates of each point plotted, the second represents the vertical coordinates of each point plotted and the third contains the name of the objects between double quotes. |
In all three options, the User is prompted to enter the file name in a small box in the bottom of the window.
visualization style
This menu contains different options to customize the way the plot is represented in the screen.
| line smoothing | The options are ON and OFF. When it is ON, ALMOND uses antialiasing techniques to render smoother lines in the screen. In plots containing a large number of points this option can increase the time required to update the display. |
| symbol font | The options are SMALL and LARGE. This option defined the font used by ALMOND to render in the screen the names and numbers of the points. |
| monochrome | The options are ON and OFF. When it is ON, the plot is rendered in black and white. |
| background | The options are BLACK and WHITE. Changes the background of the plot. The foreground colors change accordingly to keep visible all the objects in the screen. |
exit (X)
Closes the window and exits from the 2D plot application. The same effect is obtained pressing the X key when the cursor is over this window.