#### 10.10.5 AxeZ3D

• AxeZ3D( <option1>, <option2>, ... ).
• Description: draw the $Oz$ axis of the space coordinate system, that axis is oriented by the vector vecK passing through a point that is by default the origin. Options are:
• axeOrigin := < point3D >: defines a point of the axis. By default, that point is the origin: M(0,0,0).
• zlimits := < [zinf,zsup] >: defines the axis range. By default, this is the interval [Zinf, Zsup].
• zgradlimits := < [z1,z2 >: define the ticks range. By default this is the same as zlimits.
• zstep := < number >: define the ticks step: 1 by default. If the value is zero, then threre will be no ticks nor labels.
• tickdir := < 3D vector >: shows the ticks direction, by default that vector is -vecJ.
• tickpos := < 0..1 >: shows the ticks position with respect to the axis, by default the value is $0.5$ this means the axis passes through the middle of the ticks.
• labels := < 0/1 >: shows if the ticks labels will be displayed or not ($1$ by default).
• originlabel := < 0/1 >: shows if the label of the origin is displayed or not ($0$ by default).
• nbdeci := < integer >: the displayed decimal places number ($2$ by default). If the predefined variable usecomma is $1$, the decimal point is replaced by a comma. If the variable dollar is $1$, the graduations are framed with the character $. • zlabelstyle := < left/right/... >: define the label style, the default value is equal to LabelStyle. The style does not apply to the legend. • zlabelsep := < distance en cm >: define the distance between the end of the graduations and the labels ($0.25$ by default). • newzlegend( <"texte"> ): macro defining the legend for the $Oz$ axis, by default the text is "$z$". If the string is empty, there will be no legend. • zlegendsep := < distance in cm > define the distance between the end of the ticks and the legend or the end of the axis depending on the position. That distance is $0.5$ by default and is added to zlabelsep if the legend is not at one end. • legendpos := < 0..1 >: define the legend position, if there is one. With the value $0$, the legend is “below” the end of the axis, with the value $1$ the legend is “above” the end the axis, else it is along the axis. By default the value is $0.5$ (middle of the axis).  \begin{texgraph}[name=AxeZ3D, export=pgf] view(-6.5,6.5,-3,5.5),Marges(0,0,0,0),size(7.5), view3D(-3,3,-3,3,-3,3),ModelView(central), Width:=8,Color:=blue, FillStyle:=full, FillColor:=lightcyan,Cercle3D(Origin,3,vecK), Arrows:=1,LabelSize:=scriptsize, Width:=4,Color:=black, AxeX3D(axeOrigin:=M(-3,-3,0),tickdir:=-vecJ, xlabelstyle:=right,tickpos:=0,xlimits:=[-3,3.5], legendpos:=1,xlabelsep:=0.15), AxeY3D(axeOrigin:=M(-3,-3,0), tickdir:=-vecI, tickpos:=0, ylimits:=[-3,3.5]), AxeZ3D(axeOrigin:=M(-3,-3,0),zlimits:=[0,3.5], tickdir:=M(1,-1,0),zgradlimits:=[1,3]), LineStyle:=dashed, Arrows:=0, Ligne3D([M(0,-3,0),Origin,M(-3,0,0)],0), LabelDot3D(Origin, "$O\$","E",1)   \end{texgraph}

Axes examples