The meanings of and relationships between the parameters are:

If tvpe parameter is O (as specified or by default), SC defines antisotropic sealin,g;the first form of the command is assumed and the last two param- eters, l and bottotn.are ignored even if present; xmin, ]!rnin become the user coordinates of P 1, and xmax, )’ma.r,the coordinates of P2.

If t?ywparameter is 1, SC defines isotropic scaling; the first form of the command is assumed, and parameters leji and bottom (or defaults) are used;

.vnin, ymin become the user coordinates of point Q 1, and .mw, lmax, the user coordinates of point Q2, defined as follows:

the rectangle whose diagonal is Q 1– Q2 is the largest which is contained in the rectangle whose diagonal is P1 – P2.

if the plotter coordinates of Q 1 and Q2 are xq 1, yq 1 and xq2, yq2, then: (xql – xq2)/(xmin - xmax) = (yql - yq2)/(ymin - ymax)

if the two rectangles do not coincide:

if abs(xql – xq2) = abs(xp 1 – xp2)

then, yql = yp 1 + bottorn/100 * abs(yq 1 – yq2) and left is disregarded

if abs(yq I – yq2) = abs(ypl – yp2)

then, xq 1 = xpl + left/100 Y abs(xq 1 – xq2) and bottom is disregarded

If type parameter is 2, SC defines point-factor scaling; the second form of the cdmmand is used (Igfiand bottom are not used); xmin, ymin become the user coordinates of P 1, and the user coordinates of P2 are set to:

xmin + (xp2 – xp 1)/xfact, ymin + (yp2 – yp 1)/yfact

Without parameters, this command eliminates scaling and sets the user coordinate system to the plotter coordinate system.

If there are less than 4, exactly 6. or more than 7 parameters, this command is ignored.

If .rmin is the same as xmux, or if ymin is the same as ~max, or ifx~actor}~act is 0, the command is ignored.

When appropriate, the scaling defined by SC has priority over that obtained from the ratio: [size of picture frame]/[plot size]

105

Page 113
Image 113
Star Micronics 4111 manual