## Setting the Markers

xyscan does not know anything about the content of the plot other than its size and the color/gray value of each pixel. In order to make a coordinate transformation, i.e. to translate the position of the cursor from local (pixel) to plot coordinates, it needs 4 positions (2 in x and 2 in y) in plot and local coordinates. From these, xyscan determines the transformation matrix. From then on it is simple mathematics and xyscan will display local and plot coordinates as you move the cursor over the plot.

There are 2 markers (gray lines) for the x-axis, x1 (leftmost-x) and x2 (rightmost-x), and 2 markers for the y-axis, y1 (lower-y) and y2 (upper-y).

To place a marker, move the cursor along the x- or y-axis and stop exactly at a point where you can clearly read of the coordinates in the plot (typically a tic mark or the end of the axis). For the x-marker it doesn't matter where you are in y, for the y-marker the x position is not relevant.

After you positioned the cursor press the `Set` button of the referring marker in the Axis Settings tab in the Tool Box or alternatively use a shortcut key (see below). An input dialog pops up where you can enter position of the marker in plot coordinates. You can place the markers in any order. If you feel a marker is not properly placed you can set it again at any time. Once the first marker is set the rotation angle of the plot or the scale (see Rotating and Scaling Plots) cannot be changed anymore.

Once all 4 markers are set, xyscan will start to display the correct plot coordinates of the current cursor position in the Coordinates tab.

Hint: the further away x1 and x2 (y1 and y1) are from each other the higher the precision of the scan.

### Useful Shortcut Keys

Ctrl+1 (macOS: ⌘+1): set lower x marker
Ctrl+2 (macOS: ⌘+2): set upper x marker
Ctrl+3 (macOS: ⌘+3): set lower y marker
Ctrl+4 (macOS: ⌘+4): set upper y marker