Display 2-D Plot Coordinates - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Getting Started : Menus : Document Menu Bar : Format Menu : Plot Menu : worksheet/plotinterface/pointprobe

Display 2-D Plot Coordinates

  

You can use the point probe tool to view a tooltip that displays the coordinates of a point on which you hover your mouse pointer in a plot object. You can also display the coordinates of the curve point that is closest to the mouse pointer if you hover your mouse pointer over an area other than the curve.

  

By default, the point probe tool is selected as the plot manipulator whenever you create a 2-D plot. To display coordinates, you must specify the data point type that will appear in the tooltips.

  

When you create a 2-D plot, the original data points are converted to pixel coordinates and then drawn at the nearest integer position for display purposes. The Cursor position data point type displays coordinates derived from the converted pixel coordinates; the other data point types display coordinates derived from the original data points.  

  

 

  

To select the data point type: 

1. 

In the worksheet, click a 2-D plot.

2. 

From the Plot menu, select Probe Info. Alternatively, use the context-sensitive options in the Context Panel.

3. 

Select one of the following options:

– 

Cursor position - display coordinates that correspond to the position of the mouse pointer in the plot object. The coordinates are derived from plot data that is converted to pixel coordinates for display purposes.

– 

Nearest datum - display coordinates that correspond to the position of the mouse pointer in the plot object. The coordinates are derived from the original plot data.

– 

Nearest point on the line - display coordinates that correspond to the curve point that is closest to the position of the mouse pointer in the plot object. The coordinates are derived from the original plot data.

  

By default, the point probe mode is set to None, which displays no tooltips. You can change the default point probe mode through the Display Tab of the Options Dialog.  

  

Note: If the point probe tool is not selected as the default manipulator, click a 2-D plot in  the worksheet. From the Plot menu, select Manipulator, and then select Point Probe. Alternatively, use the context-sensitive options in the Context Panel.

  

 

  

You can copy the coordinate data and paste it in Maple as a Vector.

  

To copy and paste coordinate data as a Vector:

1. 

Click and hover on the graph until the coordinates are displayed.

2. 

Right-click to display the context menu.

3. 

Select Probe info, then copy point data.

4. 

Paste the coordinate data, as a Vector, in the desired location.

  

 

  

If a plot has annotations or contour labels, the annotation and the point probe info are displayed in the same tooltip. For more information on including annotations on a plot, see Plot Annotations. For more about contour plots, see contourplot.

See Also

Manipulator Menu

Overview of Plot Menu for 2-D and 3-D Plots

Plot Toolbar