next up previous contents
Next: 6. FORTRAN style interpreter Up: KUPLOT Users Guide Previous: 4.4 Example 3: Advanced

   
5. Using the mouse

A $\star$]$\star$new feature of KUPLOT is a mouse driven graphics mode that replaces all earlier mouse based functions. To enter the mouse mode, simply use the command 'mouse'. The plot window will now contain a number off buttons in addition to the view graph as can be seen in Figure 5.1.


  
Figure 5.1: KUPLOT in 'mouse' mode
\includegraphics[scale=0.7]{mou.1.eps}

The button 'coordinates' allows the user to display the coordinates of the mouse pointer by clicking the left mouse button. The values are displayed below the plot. In case of 2D files, the z-value of the closest data point is also shown. The right mouse button terminates the coordinate display function. The next group of buttons allows the user to use the mouse to modify the potting area. 'Select region' does exactly that by clicking on the lower left corner of the desired area first. A moving frame will appear and the user can select the other corner of the new region. The buttons 'zoom' and 'move' perform these functions using all three mouse buttons. A short help text explaining which button is doing what appears below the plotting area once a function is selected. 'Reset region' allows the user to quickly display the complete range of data again.

In cases where the current plot contains frames (see chapter 4), the active frame is marked by a light red background colour. All functions will affect the active frame only. The focus can be moved to another frame via the 'select frame' button, which is only active when there is more than a single frame.

Finally to get back to the command prompt of KUPLOT use the 'exit menu' button. Note that in cases where commands are written to a macro file via the command 'learn', all region functions will write the corresponding 'skal' command in the macro file. One should also be careful when using the 'mouse' command in macro files, since KUPLOT will not execute any further commands in until the 'exit menu' button is hit.


next up previous contents
Next: 6. FORTRAN style interpreter Up: KUPLOT Users Guide Previous: 4.4 Example 3: Advanced
Thomas Proffen {Billinge}
1999-06-26