• GradDroite( <[A, origin + i*posOrigin, extent]>, <[u, unit]>, <heightDiv>, <subdiv> [, poslab, direction, num, ""text"", den, firstnum] )
• Description: draduate the straight line passing through <A> with the direction vector <u> (not necessary a unit vector), <heightdiv> is the height of each graduation (cm), , <subdiv> is the per unit subdivisions number.

Optional parameters:

• <origin>: sets the origin graduation <A> (0 by default),
• <posOrigin>: shows the label position of the origin <A>, following the cases:
• <posOrigin>=0: no label at the origin,
• <posOrigin>=1: normal label at origin (like others)
• <posOrigin>=2: label at origin shifted following the <u> vector direction (default value),
• <posOrigin>=-2: label at origin shifted following the oposit direction of the <u>.
• <extent>: represents the graduation interval using a complex number: min+i*max, the axis drawing will be delimited to that interval. If that parameter is omitted, the drawing will use the whole window.
• <unit>: Indicate the step graduation (1 by default). The value must be positive.
• <poslab> indicate the label position with respect to the axis, that parameter takes the values top or bottom,
• <direction>: labels direction, the value $i$ means the labels are orthogonal to the axis, else the direction represents the LabelStyle (left, right, top, ...),
• each graduation is multiplied by the fraction <num/den> (1 by default), added to <firstnum/den> (the default origin) with the <"text"> at the numerator. This macro uses the variables : usecomma (0/1: so that the decimal separator is a comma or a point), dollar (0/1: adding (or not) \$’s around the graduations labels), numericFormat (0/1/2: managing the numerical format: decimal(0), scientific(1), or ingineer(2)), nbdeci (sets the displayed decimal places) and maxGrad (sets the maximal graduations number, $100$ by default).
• Exemple(s)GradDroite([0,1+2*i],[1,0.5], xyticks, 1, bottom, i): means that the origin graduation will be 1 with a label shifted to the right, graduations will go 0.5 by 0.5, labels will be under the axis and orthogonal to the axis.