plot application

 

plot application

 

The plot application is used in GOLPE to represent a large variety of 2D plots. In GOLPE there are four main types of 2D plots:

model plots represent properties of the models, like the variation of r2 and q2 for different model dimensionalities.
object plots represent objects
variable plots represent variables
profiles basically are variables plots with the variables ordered along the horizontal axis. Unlike X profiles, which are plotted using a devoted application, they contains only one point for each variable.

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

This button is used to drag a polygon that encompass a number of variables to highlight in Grid plots. To draw this polygon, make click in different points around this areas, a magenta line will be draw connecting all this vertex. The last vertex should be draw over the first one to close the polygon. When it is so, the magenta line becomes red and all the points inside this polygon are written to a clipboard file. Refer to plot intercommunication section to know more about the clipboard.

To abort the drawing operation make click with this button 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

2d-plot pop-up

 

set symbol

Set Symbol pop-up

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.

 

 

symbol color

Symbol Color pop-up

This option appears in the pop-up menu only when:

  1. The plot is an object plot (the symbols represent objects)
  2. The User has defined both a type of objects and a spectrum (see File>>>Type of object>>Modify and File>>>Type of object>>>Define spectrum 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

Label Axis pop-up

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

Output pop-up

GOLPE 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

Visualization Style pop-up

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, GOLPE 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 GOLPE 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.