21.02.2014 Views

tkz-b ase 1.16 c AlterMundus

tkz-b ase 1.16 c AlterMundus

tkz-b ase 1.16 c AlterMundus

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.2 \<strong>tkz</strong>LabelX 16<br />

6.2 \<strong>tkz</strong>LabelX<br />

\<strong>tkz</strong>LabelX[〈local options〉]<br />

Cette macro permet de placer des graduations. L’option orig peut de nouveau être utilisée, mais son comportement<br />

est inversée. Par défaut, la valeur à l’origine est placée. Les options sont celles de TikZ, plus les<br />

suivantes :<br />

options défaut définition<br />

frac 0 si 0 graduations = num/frac "frac est un entier"<br />

trig 0 si 0 pi/trig "trig est un entier"<br />

font \textstyle taille de la graduation.<br />

label options empty option de position des graduations<br />

color black couleur des graduations<br />

step 1 intervalle entre deux graduations<br />

np off false désactivation de numprint<br />

orig true affiche la graduation de l’origine<br />

frac et trig sont des nombres entiers permettant de passer à une écriture fractionnaire ou trigonométrique.<br />

6.2.1 Position des graduations avec label options<br />

0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 1<br />

t<br />

\begin{tikzpicture}<br />

\<strong>tkz</strong>Init[xmax=1,xstep=0.1]<br />

\<strong>tkz</strong>DrawX[label=$t$,text=blue,color=red]<br />

\<strong>tkz</strong>LabelX[label options={text=blue,below = 3pt}]<br />

\end{tikzpicture}<br />

6.2.2 Position des graduations avec label options<br />

1 000<br />

2 000<br />

3 000<br />

4 000<br />

5 000<br />

6 000<br />

7 000<br />

x<br />

8 000<br />

\begin{tikzpicture}<br />

\<strong>tkz</strong>Init[xmin=1000,xmax=8000,xstep=1000]<br />

\<strong>tkz</strong>DrawX<br />

\<strong>tkz</strong>LabelX[label options={below right=3 pt,inner sep = 1pt,rotate=-35}]<br />

\end{tikzpicture}<br />

6.2.3 Dates avec np off<br />

Pour les dates, il faut désactiver numprint.<br />

<strong>tkz</strong>-b<strong>ase</strong><br />

<strong>AlterMundus</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!