diff options
author | Xu Yuan <xu@informatik.hu-berlin.de> | 2011-10-01 21:45:33 +0200 |
---|---|---|
committer | Xu Yuan <xu@informatik.hu-berlin.de> | 2011-10-01 21:45:33 +0200 |
commit | 651a3ad72e8b44d8fd0e03f1e93ac8b6c22890b6 (patch) | |
tree | d3d6163513601ac46aeba550241fdb62f262ff15 /dev | |
parent | 26c5d5cefe7561ea676a1f2ae9a2853695b80f3d (diff) | |
download | pgf-pie-651a3ad72e8b44d8fd0e03f1e93ac8b6c22890b6.tar.gz pgf-pie-651a3ad72e8b44d8fd0e03f1e93ac8b6c22890b6.tar.bz2 pgf-pie-651a3ad72e8b44d8fd0e03f1e93ac8b6c22890b6.zip |
color wheel
Diffstat (limited to 'dev')
-rw-r--r-- | dev/demo/colorwheel.tex | 3 | ||||
-rw-r--r-- | dev/pgf-pie-manual.tex | 12 | ||||
-rw-r--r-- | dev/pgf-pie.sty | 4 |
3 files changed, 18 insertions, 1 deletions
diff --git a/dev/demo/colorwheel.tex b/dev/demo/colorwheel.tex new file mode 100644 index 0000000..1543fbe --- /dev/null +++ b/dev/demo/colorwheel.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie{10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/} +\end{tikzpicture}
\ No newline at end of file diff --git a/dev/pgf-pie-manual.tex b/dev/pgf-pie-manual.tex index 4d19ce7..b8acc99 100644 --- a/dev/pgf-pie-manual.tex +++ b/dev/pgf-pie-manual.tex @@ -121,8 +121,20 @@ it is 100 by default. It can be calculated automatically when \demo{sum} \subsection{Color} +The color can be specified by \texttt{color}, the default color wheel +is shown in figure \ref{fig:color-wheel}. + \demo{color} + +\begin{figure} + \centering + \input{demo/colorwheel} + \caption{Default color wheel} + \label{fig:color-wheel} +\end{figure} + + \subsection{Style} \subsubsection{shadow} \demo[0.6]{shadow} diff --git a/dev/pgf-pie.sty b/dev/pgf-pie.sty index cb982b8..0fa3b26 100644 --- a/dev/pgf-pie.sty +++ b/dev/pgf-pie.sty @@ -85,7 +85,9 @@ chart by using PGF/Tikz package.] { \pgfkeys{ explode=0, - color={blue!60, cyan!60, yellow!60, orange!60, red!60}, + color={blue!60, cyan!60, yellow!60, orange!60, red!60, + blue!60!cyan!60, cyan!60!yellow!60, red!60!cyan!60, + red!60!blue!60, orange!60!cyan!60}, radius=3, pos={0,0}, style={thick}, |