Re: diagramma spider con TIKZ

#74782
matraz
Partecipante
    Up
    0
    Down
    ::


    avrei trovato una saluzione che per certi versi pare più agile… ma ancora più criptica..

    \documentclass[]{book}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[upright]{fourier}
    \usepackage[usenames,dvipsnames]{xcolor}
    \usepackage{tkz-kiviat,numprint,fullpage}
    \usepackage{pgfplotstable}
    \usetikzlibrary{arrows}
    \thispagestyle{empty}

    \begin{document}

    \begin{tikzpicture}

    \tkzKiviatDiagramFromFile[
    scale=.5,
    label distance=.5cm,
    gap = 1,label space=3,
    lattice = 10]{tableae.dat}

    \tkzKiviatLineFromFile[thick,
    color = red,
    mark = ball,
    ball color = red,
    mark size = 4pt,
    fill = red!20]{tableae.dat}{1}
    %\tkzKiviatLineFromFile[thick,
    color = blue,
    mark = ball,
    ball color = red,
    mark size = 4pt,
    fill = red!20]{tableae.dat}{2}
    \tkzKiviatLineFromFile[thick,
    color = gray,
    mark = ball,
    ball color = red,
    mark size = 4pt,
    fill = red!20]{tableae.dat}{3}

    \end{tikzpicture}

    \end{document}

    che usa un file separato che si chiama tableae.dat siffatto

    flag_moduli CDAoss CDAideale narnali
    ADL 2.8 2.1 1.4
    umore 2.1 7.8 0.2
    {def cog} 8.3 6.6 6.6
    {dist comp} 5.0 5.7 1.5

    però qui ci sono dei problemi diversi…

    ma ancora non ci sono…

    Go to top