NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/gliderproc/trunk/MATLAB/opnml/html/6.basics/gcp.html

Revision 495 (checked in by cbc, 11 years ago)

Initial import of Stark code.

Line 
1 <TITLE>/</TITLE>
2 <BODY>
3 <A HREF = "index.html">[Index for ./basics]</A>
4 <A HREF = "../index.html">[Return to Master Index]</A>
5 <H1>gcp</H1>
6 <H2>(./basics/gcp.m)</H2>
7 <HR><H3>Function Synopsis</H3>
8 <pre>h = gcp</pre>
9 <HR><H3>Help text</H3>
10 <pre>
11 GCP    Get current point on current axes and current figure.
12        H = GCP returns two sets of points:
13              1) the current point on the current figure;
14              2) the current 2-D point on the current axes.
15
16        The current point is the last place on an axes that a mouse
17        button was pressed (or released if dragged).
18
19        The first set (figure point) is not useful for most purposes.
20        The second set (axes point) can be used to get the axes location
21        at which to place text strings for labelling. 
22
23        The current points are returned in a 2X2 matrix, with the units
24        specified by the figure (axes) property 'Units', as:
25
26          |                  |
27          |  Fig_X     Fig_Y |
28          |                  |
29          | Axes_X    Axes_Y |
30          |                  |
31
32        The figure units are most likely to be in pixels.
33
34        See the MATLAB Reference Guide for details on the 'CurrentPoint'
35        property of figures and axes.
36 </pre>
37 <HR>
38 Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb  2 16:15:45 EST 1999
39 <BR>
40 Cross-Directory links are: OFF<BR>
41 </BODY>
Note: See TracBrowser for help on using the browser.