#### 8.3.4 axes

• axes( <[origin, extentX, extentY]>, <gradX+i*gradY> [, subdivX+i*subdivY, posOriginX+i*posOriginY, num, "text", den, firstnum] ).
• Description: draw and graduate axes passing through <origin> (affix).Usage :like the command Axes with the variables xylabelpos and xyticks. By default axes are drawn on the whole window if the optional parameters <extentX> and <extentY > are omitted. The parameter <extentX> is a complex number representing the abscissa interval : xmin+i*xmax, same with the ordinates with the parameter <extentY >, axes are then limited to those intervals. Note: if you need to give a value to <extentY > only, it suffices to replace the <extentX> value with jump (not Nil! ).
• The optional parameter <subdivX+i*subdivY > shows the subdivision number per unit on each axis (0 by default)
• The optional parameter <posOriginX+i*posOriginY > places the origin label:
• <posOriginX>=0: no label for the origin (idem for <posOriginY >=0),
• <posOriginX>=1: ordinary label (idem for <posOriginY >=1)„
• <posOriginX>=2: label shifted towards right of the origin and upwards <posOriginY >=2 (default values),
• <posOriginX>=-2: label shifted towards left of the origin and downwards for <posOriginY >=-2.
• On the two axes each label is multiplicated by the fraction <num/den> (1 by default), added to <firstnum/den> (default origin) with the <"text"> at the numerator. That macro calls the macro GradDroite, uses the variables: usecomma (0/1: so that the decimal separator is a comma or a point), dollar (0/1: to add (or not) \$ around the graduation labels), numericFormat (0/1/2: managing the numerical format decimal(0), scientific(1), ou engineering(2)), and nbdeci (sets the decimal places number).
• Exemple(s): graduating the axes $\pi ∕2$ by $\pi ∕2$: axes(0, pi*(1+i)/2, 1+i, 2+2*i, 1, "$\$pi", 2, 0). Unlike the Axes command, that macro is sensitive to the current matrix. It calls the macro GradDroite that is using the variables dollar, numericFormat and nbdeci.