- Questo topic ha 6 risposte, 4 partecipanti ed è stato aggiornato l'ultima volta 10 anni, 8 mesi fa da .
-
Topic
-
Ciao, volevo sapere se è possibile costruire una B-Spline come in figura in allegato. Grazie, ciao.`
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{amsmath}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}\begin{document}
\begin{center}
\begin{tikzpicture}
\begin{axis} [grid=major,width=12cm,ymin=35,ymax=50,ytick={35,40,…,50},
legend pos=outer north east,
xlabel={N\ped{fila fori}}, ylabel={Nu\ped{medio}}]\addplot [red, thick, mark=*]
coordinates {
(1800,48)
(2000,45)
(2500,47)
(5000,42.5)
(10000,40.5)
(15000,40)
(35000,39)
(37000,37)
};\legend {Corr}
\end{axis}
\end{tikzpicture}
\end{center}
\end{document}
`[attachment=1485]b-spline.JPG[/attachment]
[attachment=1488]Screenshotfrom2015-12-23215750.png[/attachment]
- Devi essere connesso per rispondere a questo topic.