23.10.2014 Views

tkz-grap h ctan v1.00 c AlterMundus

tkz-grap h ctan v1.00 c AlterMundus

tkz-grap h ctan v1.00 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.

9 Changement de couleurs dans les styles prédéfinis 39<br />

SECTION 9<br />

Changement de couleurs dans les styles prédéfinis<br />

Trois macros sont proposées<br />

9.1 \SetGraphShadeColor<br />

\SetGraphShadeColor{〈ball color〉}{〈color〉}{〈double〉}<br />

\SetGraphShadeColor permet de modifier les couleurs pour le style Shade.<br />

9.1.1 Exemple<br />

Cet exemmple utilise une macrio de <strong>tkz</strong>-berge<br />

\begin{tikzpicture}<br />

\GraphInit[vstyle=Shade]<br />

\SetGraphUnit{4}<br />

\SetVertexNoLabel<br />

\SetGraphShadeColor{red!50}{black}{red}<br />

\Vertices{circle}{A,B,C,D,E}<br />

\Edges(A,B,C,D,E,A,C,E,B,D)<br />

\end{tikzpicture}<br />

<strong>tkz</strong>-<strong>grap</strong>h<br />

<strong>AlterMundus</strong>

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

Saved successfully!

Ooh no, something went wrong!