Re: [Risolto] Centre line symbol (CL).

#50487
admin
Amministratore del forum
    Up
    0
    Down
    ::


    Il problema (se così si può chiamare) ora è veramente risolto. Allego un grafico fatto con pgfplots per mostrarne un tipico uso:`\documentclass{article}
    \usepackage[centering]{geometry}
    \usepackage{pgfplots}

    \newcommand{\CL}{\leavevmode{\sffamily \raise.6ex\hbox{\footnotesize C}\kern -.41em L\@}}

    \begin{document}
    \begin{tikzpicture}
    \pgfplotsset{compat=1.3,width=14cm, height=10cm}
    \begin{axis}[xmin=0,%
    xmax=180000,%
    ymin=-100,%
    ymax=100,%
    xlabel=$N$ — (cicli),%
    ylabel=$a$ — (mm),%
    grid=major]

    \addplot coordinates {
    (0,7)
    (30000,10)
    (60000,15)
    (70000,18)
    (90000,21)
    (100000,23)
    (110000,27)
    (120000,31)
    (140000,40)
    (150000,46)
    (160000,52)
    (175000,70)
    (177000,97)
    };
    \addplot coordinates {
    (0,-7)
    (30000,-10)
    (60000,-15)
    (70000,-18)
    (90000,-21)
    (100000,-23)
    (110000,-27)
    (120000,-31)
    (140000,-40)
    (150000,-46)
    (160000,-52)
    (175000,-70)
    (177000,-97)
    };
    \draw[draw=black, style=dashed] (axis cs:0,-70) — (axis cs:180000,-70);
    \draw[draw=black, style=dashed] (axis cs:0,+70) — (axis cs:180000,+70);

    \node[fill=white] at (axis cs:90000,-70) {\CL};
    \node[fill=white] at (axis cs:90000,+70) {\CL};

    \end{axis}
    \end{tikzpicture}
    \end{document}`
    Grazie ancora 😉 ,
    ansys.

    Go to top