Re: diagramma spider con TIKZ

#74787
matraz
Partecipante
    Up
    0
    Down
    ::


    La storia è finita così:

    `
    \begin{tikzpicture}

    \tkzKiviatDiagramFromFile[
    scale=.4,
    label distance=1.4cm,
    gap = 1,label space=1.6,
    font = \footnotesize,
    lattice = 10]{figure/tableae.dat}

    \tkzKiviatLineFromFile[thick,
    color = red,
    mark = ball,
    ball color = red,
    mark size = 4pt,
    fill = red!20]{figure/tableae.dat}{1}

    \tkzKiviatLineFromFile[thick,
    color = blue,
    mark = ball,
    ball color = blue,
    mark size = 4pt,
    fill =blue!20]{figure/tableae.dat}{2}
    \tkzKiviatLineFromFile[thick,
    color = black,
    mark = ball,
    ball color = black,
    mark size = 4pt,
    fill = black!20]{figure/tableae.dat}{3}
    \draw[anchor=north, rounded corners] (5,10)rectangle(13,7);
    \draw[black,ultra thick] (5.5,9.5)–(6.5,9.5) node[right,black] {\begin{footnotesize}CDA osservato\end{footnotesize}};
    \draw[blue,ultra thick] (5.5,8.5)–(6.5,8.5)node[right,black] {\begin{footnotesize}CDA ideale\end{footnotesize}};
    \draw[red,ultra thick] (5.5,7.5)–(6.5,7.5)node[right,black] {\begin{footnotesize}Narnali\end{footnotesize}};
    \end{tikzpicture}

    %dove tableae.dat è:
    flag_moduli CDAoss CDAideale esempio
    ADL 2.8 2.1 1.4
    {etic 1} 2.1 7.8 0.2
    {etic 2} 8.3 6.6 6.6
    {etic 3} 5.0 5.7 1.5
    `

    grazie a tutti!
    matilde

    Go to top