As an example, let us consider coordinate transformation for the two curves related to the scale bar (0;80). To transform coordinates, apply three (ore more) points that don't belong to a straight line.
First of all, place the cursor on the scale bar - on the point marked "0" and then "80". Write down coordinates shown in the lower left corner of the project.
In the example you may load from our side, coordinates of the point 0 are
(45;23), and 80 - (60;23).
We are ready now to create a CPT-file (an external file containing coordinates of reference points before and after transformation). Make the Transform.CPT file, open it with the Notepad, and input the following:
45 23 0 0
60 23 80 0
45 28 0 5
It means:
point (45;23) will be transformed into (0;0);
(60;23) - into (80;0);
(45;23+5) - into (0;5).
Five is an arbitrary value - you may take any other (on condition that Y-coordinate remains within the project frame). The file specifies a shift of the coordinate system and stretching along the X-axis.
If the vertical scale unit differs from mm (for example, 1 mm corresponds to 6 units of the vertical scale) , the
(45;23+5) point must be transformed into (0;5*6), i.e.:
45 23 0 0
60 23 80 0
45 28 0 30
Export our digitized graphs to the CSV-format. Click the "Transform coordinates using control points from the file" option on the Transform page and select the created Transform.CPT file.
|