Risposte nei forum create
-
AutoreRisposte
-
::
Partiamo dal presupposto che si, utilizziamo SQL e abbiamo dei dati in formato JSON e i nostri programmatori conoscono phyton.Io sinceramente ho scritto la mia tesi in LaTex nel quale ho dovuto imparare ad utilizzare il pacchetto pgfplots e lavorare in ambiente tikz, costruendo grafici partendo da file di testo e imparando alcuni comandi di linguaggio C… non è stato affatto facile. Ma qui mi sembra che siamo ad un livello ancora più avanzato 🙁 !!!!!
Detto ciò non mi spavento.. organizzero qualcosa con l’IT & Company e cercherò di arrivare fino in fondo! In caso ora perlomeno ho un contatto a cui appoggiarmi… vero? 😀
Grazie mille!
LF
::
Beato me che ho avuto un relatore che rifiutava categoricamente qualunque programma del pacchetto office 😀 da word ad excel.. powerpoint compreso! Cosi oltre ad imparare ad utilizzare LaTex (sia per la tesi che per la presentazione tramite beamer) il risultato è stato molto più soddisfacente, bello da vedere e rapido da ottenere.Mi dispiace però non poterti aiutare 🙁
::
Caro cfiandra, grazie di nuovo…comunque ho provato ad usare il tuo metodo ma mi da un errore:
! TeX capacity exceeded, sorry [input stack size=5000].
Se commento
`legend columns=-1,
legend entries={Ryy,Rzz,Rxy,Rxz,Ryz,Rxx},
legend to name=lamialegenda`l’errore sparisce ma chiaramente la legenda non viene creata 🙂
A cosa può esser dovuto tale errore?
Grazie
::
Grazie Liverpool ma non posso utilizzare il tuo metodo… ho 40 grafici con circa 240 coordinate l’uno.. mettere parentesi e virgole ad ognuno è la fine. Il formato che vedi mi viene dato direttamente cosi tramite octave. Io sostituisco solo il titolo e sistemo le etichette degli assi.Per quanto riguarda la funzione scale.. se inserisco direttamente la giusta dimensione esteticamente non mi soddisfaceva, ora non ricordo che brutto effetto mi dava, ma mi serve cosi come l’ho scritto. (forse era per affiancarli tutti su un unica riga riempiendo per bene lo spazio).
Ora provo a usare quei comandi con groupplot è che son abbastanza tirato coi tempi e probabilmente eviterò di mettere il doppio asse.
Grazie,
L.
::
Proviamo in questo modo…`\documentclass[11pt, a4paper, twoside, openright]{book}
\usepackage{graphicx,epsfig}
\usepackage[table]{xcolor}
\usepackage{color}
\usepackage{amsmath}
\usepackage{xspace}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{tabularx}
\usepackage{amsthm}
\usepackage{subfigure}
\usepackage{multirow}
\usepackage{clrscode}
\usepackage{fancyhdr}
\usepackage{textcomp}
\usepackage{eso-pic}
\usepackage{listings}
\usepackage{makeidx}
\usepackage{ifthen}
\usepackage{hyperref}
\usepackage{paralist}
\usepackage{ifthen}
\usepackage{nicefrac}
\usepackage{algorithmic}
\usepackage{captcont}
\usepackage{calc}
\usepackage[Lenny]{fncychap}
%AGGIUNTE DA L.FRIGERI%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{geometry}
\usepackage[italian]{varioref} %riferimento immagini più bello
\usepackage{siunitx} %simboli,
%\sisetup{per-mode = symbol}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc} %sillabazione,accenti,dedodificazione italiana
\usepackage[italian]{babel}
\usepackage{amssymb}
\usepackage{url,amsfonts,epsfig}
\usepackage{fixltx2e}
\usepackage{wrapfig}
\usepackage{caption}
\captionsetup[figure]{position=bottom}
\captionsetup[table]{position=top}
\captionsetup{skip=\medskipamount}
\usepackage{float} %opzione H per forzare posizione figure
\usepackage[vflt]{floatflt} %testo attorno figure
\usepackage[italian]{nomencl}
\usepackage{epstopdf}
\setlength{\headheight}{15pt}
\usepackage{booktabs}
\usepackage{relsize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%PACCHETTI TIKZ
\usepackage{gnuplot-lua-tikz}
\usepackage{tikz}
\usepackage{pgfplots} %grafici latex
\usepgfplotslibrary[groupplots]
\pgfplotsset{compat=1.3}
%FINE PACCHETTI TIKZ
%FINE AGGIUNTE L.FRIGERI%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\linespread{1.3} %interlinea 1.5
\makeindex
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\textsl{ #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\textsl{ #1}}{}}
\fancyhf{}
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{0pt}
%\renewcommand{\headheight}{14pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%CAPTION MODIFICATE FRIGERI
\renewcommand\captionfont{\footnotesize}
\renewcommand\captionlabelfont{\bfseries} %didascalia, etichetta grassetto e font più piccolo
\newcommand{\squeezeup}{\vspace{-0.7cm}} %ridurre spazio tra figure e immagini
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% jpg images paths
%\newcommand{\jpgfigspath}{/figures_jpg/}
% png images paths
%\newcommand{\pngfigspath}{./figures_png/}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%MY IMAGES PATH
\newcommand{\figspath}{./immagini/}
%MY GRAPH PATH
\newcommand{\plotpath}{./grafici/}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\begin{document}\begin{tikzpicture}[scale=0.75]
\begin{groupplot}[%
group style={
group name=my plots,
group size=5 by 1,
xlabels at=edge bottom,
ylabels at=edge left,
},
width=5cm,
height=10cm,
%scale only axis,
xmin=15,
xmax=30,
xtick={15,17.5,20,22.5,25,27.5,30},
xticklabels={15,,20,,25,,\SI{30}{\celsius}},
ytick={0,0.1,0.5,1,1.5,2,2.25},
yticklabels={0,out,0.5,1,1.5,2,in},
%xlabel={$Temperatura$ $(\SI{}{\celsius}) $},
ymin=0,
ymax=2.4,
ylabel={$Altezza$ $(m)$},
grid=major,
every axis/.append style={font=\tiny}
]
\begin{axis}[
yshift=-0.5cm,
width=5cm,
height=10cm,
axis x line*=bottom,
axis y line=none,
xmin=288,
xmax=303,
xtick ={288,293,298,303},
xticklabels ={288,293,288,303 K},
xlabel={$Temperatura$},
grid=none,
every axis/.append style={font=\tiny}
]
\end{axis}
\nextgroupplot[title=S5];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.257 0.0120603 \\
21.071 0.0241206 \\
21.024 0.0361809 \\
21.018 0.0482412 \\
21.019 0.0603015 \\
21.022 0.0723618 \\
21.025 0.0844221 \\
21.03 0.0964824 \\
21.038 0.108543 \\
21.05 0.120603 \\
21.057 0.132663 \\
21.064 0.144724 \\
21.072 0.156784 \\
21.081 0.168844 \\
21.088 0.180905 \\
21.093 0.192965 \\
21.096 0.205025 \\
21.097 0.217085 \\
21.097 0.229146 \\
21.098 0.241206 \\
21.1 0.253266 \\
21.104 0.265327 \\
21.111 0.277387 \\
21.12 0.289447 \\
21.133 0.301508 \\
21.147 0.313568 \\
21.161 0.325628 \\
21.173 0.337688 \\
21.183 0.349749 \\
21.191 0.361809 \\
21.197 0.373869 \\
21.203 0.38593 \\
21.208 0.39799 \\
21.212 0.41005 \\
21.217 0.422111 \\
21.221 0.434171 \\
21.226 0.446231 \\
21.231 0.458291 \\
21.236 0.470352 \\
21.24 0.482412 \\
21.245 0.494472 \\
21.249 0.506533 \\
21.253 0.518593 \\
21.256 0.530653 \\
21.259 0.542714 \\
21.262 0.554774 \\
21.265 0.566834 \\
21.268 0.578894 \\
21.271 0.590955 \\
21.275 0.603015 \\
21.278 0.615075 \\
21.283 0.627136 \\
21.287 0.639196 \\
21.293 0.651256 \\
21.299 0.663317 \\
21.305 0.675377 \\
21.313 0.687437 \\
21.321 0.699497 \\
21.33 0.711558 \\
21.34 0.723618 \\
21.351 0.735678 \\
21.362 0.747739 \\
21.375 0.759799 \\
21.388 0.771859 \\
21.403 0.78392 \\
21.418 0.79598 \\
21.434 0.80804 \\
21.451 0.820101 \\
21.468 0.832161 \\
21.487 0.844221 \\
21.506 0.856281 \\
21.526 0.868342 \\
21.547 0.880402 \\
21.568 0.892462 \\
21.59 0.904523 \\
21.612 0.916583 \\
21.635 0.928643 \\
21.66 0.940704 \\
21.686 0.952764 \\
21.714 0.964824 \\
21.741 0.976884 \\
21.771 0.988945 \\
21.801 1.00101 \\
21.833 1.01307 \\
21.865 1.02513 \\
21.898 1.03719 \\
21.932 1.04925 \\
21.967 1.06131 \\
22.002 1.07337 \\
22.038 1.08543 \\
22.075 1.09749 \\
22.112 1.10955 \\
22.152 1.12161 \\
22.192 1.13367 \\
22.235 1.14573 \\
22.279 1.15779 \\
22.324 1.16985 \\
22.371 1.18191 \\
22.418 1.19397 \\
22.467 1.20603 \\
22.516 1.21809 \\
22.567 1.23015 \\
22.619 1.24221 \\
22.673 1.25427 \\
22.728 1.26633 \\
22.784 1.27839 \\
22.842 1.29045 \\
22.9 1.30251 \\
22.961 1.31457 \\
23.021 1.32663 \\
23.083 1.33869 \\
23.146 1.35075 \\
23.21 1.36281 \\
23.274 1.37487 \\
23.338 1.38693 \\
23.404 1.39899 \\
23.47 1.41106 \\
23.536 1.42312 \\
23.602 1.43518 \\
23.669 1.44724 \\
23.736 1.4593 \\
23.803 1.47136 \\
23.87 1.48342 \\
23.937 1.49548 \\
24.004 1.50754 \\
24.071 1.5196 \\
24.137 1.53166 \\
24.204 1.54372 \\
24.27 1.55578 \\
24.335 1.56784 \\
24.4 1.5799 \\
24.464 1.59196 \\
24.528 1.60402 \\
24.591 1.61608 \\
24.653 1.62814 \\
24.714 1.6402 \\
24.775 1.65226 \\
24.835 1.66432 \\
24.894 1.67638 \\
24.953 1.68844 \\
25.011 1.7005 \\
25.068 1.71256 \\
25.125 1.72462 \\
25.181 1.73668 \\
25.236 1.74874 \\
25.291 1.7608 \\
25.345 1.77286 \\
25.399 1.78492 \\
25.452 1.79698 \\
25.504 1.80905 \\
25.555 1.82111 \\
25.606 1.83317 \\
25.656 1.84523 \\
25.704 1.85729 \\
25.752 1.86935 \\
25.799 1.88141 \\
25.846 1.89347 \\
25.89 1.90553 \\
25.935 1.91759 \\
25.979 1.92965 \\
26.023 1.94171 \\
26.066 1.95377 \\
26.109 1.96583 \\
26.151 1.97789 \\
26.191 1.98995 \\
26.232 2.00201 \\
26.282 2.01407 \\
26.325 2.02613 \\
26.367 2.03819 \\
26.408 2.05025 \\
26.447 2.06231 \\
26.485 2.07437 \\
26.521 2.08643 \\
26.556 2.09849 \\
26.59 2.11055 \\
26.623 2.12261 \\
26.655 2.13467 \\
26.687 2.14673 \\
26.718 2.15879 \\
26.75 2.17085 \\
26.782 2.18291 \\
26.814 2.19497 \\
26.846 2.20704 \\
26.879 2.2191 \\
26.912 2.23116 \\
26.948 2.24322 \\
26.981 2.25528 \\
27.01 2.26734 \\
27.033 2.2794 \\
27.054 2.29146 \\
27.069 2.30352 \\
27.08 2.31558 \\
27.087 2.32764 \\
27.093 2.3397 \\
27.098 2.35176 \\
27.103 2.36382 \\
27.107 2.37588 \\
27.11 2.38794 \\
};
\addplot
table[row sep=crcr]{
21.6531 0.0503145 \\
21.6743 0.090566 \\
21.6106 0.145912 \\
21.6319 0.191195 \\
21.6106 0.296855 \\
21.7168 0.593711 \\
21.8442 0.845283 \\
22.0779 1.09686 \\
22.1841 1.39371 \\
22.4177 1.6956 \\
22.6726 1.99245 \\
22.7788 2.29434 \\
};
\nextgroupplot[title=S4];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.342 0.0120603 \\
21.135 0.0241206 \\
21.025 0.0361809 \\
20.976 0.0482412 \\
20.961 0.0603015 \\
20.975 0.0723618 \\
21.018 0.0844221 \\
21.032 0.0964824 \\
21.009 0.108543 \\
20.972 0.120603 \\
20.967 0.132663 \\
20.983 0.144724 \\
21.03 0.156784 \\
21.09 0.168844 \\
21.128 0.180905 \\
21.147 0.192965 \\
21.159 0.205025 \\
21.167 0.217085 \\
21.175 0.229146 \\
21.182 0.241206 \\
21.189 0.253266 \\
21.196 0.265327 \\
21.201 0.277387 \\
21.206 0.289447 \\
21.21 0.301508 \\
21.212 0.313568 \\
21.214 0.325628 \\
21.215 0.337688 \\
21.215 0.349749 \\
21.215 0.361809 \\
21.216 0.373869 \\
21.216 0.38593 \\
21.217 0.39799 \\
21.2190000000001 0.41005 \\
21.221 0.422111 \\
21.223 0.434171 \\
21.225 0.446231 \\
21.227 0.458291 \\
21.23 0.470352 \\
21.233 0.482412 \\
21.237 0.494472 \\
21.24 0.506533 \\
21.244 0.518593 \\
21.247 0.530653 \\
21.251 0.542714 \\
21.255 0.554774 \\
21.259 0.566834 \\
21.263 0.578894 \\
21.268 0.590955 \\
21.274 0.603015 \\
21.28 0.615075 \\
21.286 0.627136 \\
21.294 0.639196 \\
21.302 0.651256 \\
21.311 0.663317 \\
21.322 0.675377 \\
21.333 0.687437 \\
21.345 0.699497 \\
21.358 0.711558 \\
21.371 0.723618 \\
21.385 0.735678 \\
21.399 0.747739 \\
21.414 0.759799 \\
21.429 0.771859 \\
21.447 0.78392 \\
21.464 0.79598 \\
21.484 0.80804 \\
21.505 0.820101 \\
21.527 0.832161 \\
21.553 0.844221 \\
21.578 0.856281 \\
21.605 0.868342 \\
21.634 0.880402 \\
21.664 0.892462 \\
21.6950000000001 0.904523 \\
21.726 0.916583 \\
21.759 0.928643 \\
21.794 0.940704 \\
21.83 0.952764 \\
21.865 0.964824 \\
21.901 0.976884 \\
21.938 0.988945 \\
21.976 1.00101 \\
22.015 1.01307 \\
22.056 1.02513 \\
22.097 1.03719 \\
22.14 1.04925 \\
22.182 1.06131 \\
22.226 1.07337 \\
22.269 1.08543 \\
22.312 1.09749 \\
22.355 1.10955 \\
22.399 1.12161 \\
22.442 1.13367 \\
22.487 1.14573 \\
22.531 1.15779 \\
22.575 1.16985 \\
22.619 1.18191 \\
22.663 1.19397 \\
22.706 1.20603 \\
22.749 1.21809 \\
22.792 1.23015 \\
22.835 1.24221 \\
22.879 1.25427 \\
22.925 1.26633 \\
22.972 1.27839 \\
23.021 1.29045 \\
23.071 1.30251 \\
23.121 1.31457 \\
23.172 1.32663 \\
23.223 1.33869 \\
23.274 1.35075 \\
23.326 1.36281 \\
23.378 1.37487 \\
23.431 1.38693 \\
23.484 1.39899 \\
23.539 1.41106 \\
23.595 1.42312 \\
23.652 1.43518 \\
23.711 1.44724 \\
23.771 1.4593 \\
23.833 1.47136 \\
23.896 1.48342 \\
23.961 1.49548 \\
24.026 1.50754 \\
24.092 1.5196 \\
24.158 1.53166 \\
24.224 1.54372 \\
24.289 1.55578 \\
24.353 1.56784 \\
24.415 1.5799 \\
24.477 1.59196 \\
24.536 1.60402 \\
24.595 1.61608 \\
24.652 1.62814 \\
24.709 1.6402 \\
24.765 1.65226 \\
24.819 1.66432 \\
24.874 1.67638 \\
24.929 1.68844 \\
24.983 1.7005 \\
25.038 1.71256 \\
25.092 1.72462 \\
25.148 1.73668 \\
25.204 1.74874 \\
25.259 1.7608 \\
25.316 1.77286 \\
25.372 1.78492 \\
25.427 1.79698 \\
25.483 1.80905 \\
25.537 1.82111 \\
25.592 1.83317 \\
25.645 1.84523 \\
25.697 1.85729 \\
25.748 1.86935 \\
25.798 1.88141 \\
25.848 1.89347 \\
25.894 1.90553 \\
25.941 1.91759 \\
25.985 1.92965 \\
26.028 1.94171 \\
26.069 1.95377 \\
26.109 1.96583 \\
26.148 1.97789 \\
26.183 1.98995 \\
26.221 2.00201 \\
26.266 2.01407 \\
26.31 2.02613 \\
26.354 2.03819 \\
26.399 2.05025 \\
26.444 2.06231 \\
26.49 2.07437 \\
26.535 2.08643 \\
26.577 2.09849 \\
26.616 2.11055 \\
26.65 2.12261 \\
26.679 2.13467 \\
26.705 2.14673 \\
26.73 2.15879 \\
26.753 2.17085 \\
26.775 2.18291 \\
26.798 2.19497 \\
26.821 2.20704 \\
26.846 2.2191 \\
26.87 2.23116 \\
26.901 2.24322 \\
26.937 2.25528 \\
26.978 2.26734 \\
27.024 2.2794 \\
27.062 2.29146 \\
27.091 2.30352 \\
27.111 2.31558 \\
27.125 2.32764 \\
27.135 2.3397 \\
27.141 2.35176 \\
27.146 2.36382 \\
27.149 2.37588 \\
27.151 2.38794 \\
};
\addplot
table[row sep=crcr]{
21.6531 0.0402516 \\
21.6743 0.100629 \\
21.6531 0.145912 \\
21.6743 0.191195 \\
21.6956 0.291824 \\
21.8655 0.593711 \\
21.9717 0.840252 \\
22.1416 1.08679 \\
22.1841 1.39371 \\
22.3965 1.68553 \\
22.6301 1.99748 \\
22.8637 2.28931 \\
};
\nextgroupplot[title=S3];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.185 0.0120603 \\
20.808 0.0241206 \\
20.623 0.0361809 \\
20.606 0.0482412 \\
20.668 0.0603015 \\
20.7190000000001 0.0723618 \\
20.797 0.0844221 \\
20.891 0.0964824 \\
20.964 0.108543 \\
21.031 0.120603 \\
21.068 0.132663 \\
21.097 0.144724 \\
21.12 0.156784 \\
21.137 0.168844 \\
21.15 0.180905 \\
21.16 0.192965 \\
21.167 0.205025 \\
21.173 0.217085 \\
21.177 0.229146 \\
21.181 0.241206 \\
21.184 0.253266 \\
21.187 0.265327 \\
21.191 0.277387 \\
21.194 0.289447 \\
21.197 0.301508 \\
21.2 0.313568 \\
21.203 0.325628 \\
21.206 0.337688 \\
21.209 0.349749 \\
21.211 0.361809 \\
21.214 0.373869 \\
21.217 0.38593 \\
21.2190000000001 0.39799 \\
21.222 0.41005 \\
21.225 0.422111 \\
21.229 0.434171 \\
21.232 0.446231 \\
21.235 0.458291 \\
21.239 0.470352 \\
21.242 0.482412 \\
21.246 0.494472 \\
21.249 0.506533 \\
21.252 0.518593 \\
21.256 0.530653 \\
21.259 0.542714 \\
21.262 0.554774 \\
21.266 0.566834 \\
21.269 0.578894 \\
21.274 0.590955 \\
21.278 0.603015 \\
21.283 0.615075 \\
21.289 0.627136 \\
21.295 0.639196 \\
21.302 0.651256 \\
21.31 0.663317 \\
21.319 0.675377 \\
21.329 0.687437 \\
21.34 0.699497 \\
21.352 0.711558 \\
21.365 0.723618 \\
21.38 0.735678 \\
21.394 0.747739 \\
21.411 0.759799 \\
21.427 0.771859 \\
21.4450000000001 0.78392 \\
21.463 0.79598 \\
21.482 0.80804 \\
21.503 0.820101 \\
21.524 0.832161 \\
21.547 0.844221 \\
21.5700000000001 0.856281 \\
21.5940000000001 0.868342 \\
21.619 0.880402 \\
21.644 0.892462 \\
21.671 0.904523 \\
21.698 0.916583 \\
21.726 0.928643 \\
21.756 0.940704 \\
21.787 0.952764 \\
21.817 0.964824 \\
21.847 0.976884 \\
21.877 0.988945 \\
21.908 1.00101 \\
21.939 1.01307 \\
21.971 1.02513 \\
22.004 1.03719 \\
22.037 1.04925 \\
22.071 1.06131 \\
22.107 1.07337 \\
22.142 1.08543 \\
22.18 1.09749 \\
22.218 1.10955 \\
22.257 1.12161 \\
22.298 1.13367 \\
22.339 1.14573 \\
22.381 1.15779 \\
22.423 1.16985 \\
22.467 1.18191 \\
22.51 1.19397 \\
22.555 1.20603 \\
22.599 1.21809 \\
22.645 1.23015 \\
22.691 1.24221 \\
22.739 1.25427 \\
22.788 1.26633 \\
22.837 1.27839 \\
22.89 1.29045 \\
22.942 1.30251 \\
22.999 1.31457 \\
23.056 1.32663 \\
23.118 1.33869 \\
23.181 1.35075 \\
23.247 1.36281 \\
23.315 1.37487 \\
23.384 1.38693 \\
23.453 1.39899 \\
23.522 1.41106 \\
23.588 1.42312 \\
23.655 1.43518 \\
23.717 1.44724 \\
23.78 1.4593 \\
23.84 1.47136 \\
23.899 1.48342 \\
23.959 1.49548 \\
24.017 1.50754 \\
24.076 1.5196 \\
24.136 1.53166 \\
24.1950000000001 1.54372 \\
24.259 1.55578 \\
24.322 1.56784 \\
24.388 1.5799 \\
24.454 1.59196 \\
24.521 1.60402 \\
24.588 1.61608 \\
24.654 1.62814 \\
24.72 1.6402 \\
24.786 1.65226 \\
24.85 1.66432 \\
24.915 1.67638 \\
24.977 1.68844 \\
25.04 1.7005 \\
25.101 1.71256 \\
25.16 1.72462 \\
25.2190000000001 1.73668 \\
25.275 1.74874 \\
25.331 1.7608 \\
25.383 1.77286 \\
25.436 1.78492 \\
25.486 1.79698 \\
25.536 1.80905 \\
25.583 1.82111 \\
25.631 1.83317 \\
25.676 1.84523 \\
25.7190000000001 1.85729 \\
25.762 1.86935 \\
25.802 1.88141 \\
25.841 1.89347 \\
25.877 1.90553 \\
25.914 1.91759 \\
25.948 1.92965 \\
25.981 1.94171 \\
26.013 1.95377 \\
26.045 1.96583 \\
26.075 1.97789 \\
26.105 1.98995 \\
26.137 2.00201 \\
26.179 2.01407 \\
26.221 2.02613 \\
26.268 2.03819 \\
26.319 2.05025 \\
26.374 2.06231 \\
26.433 2.07437 \\
26.495 2.08643 \\
26.556 2.09849 \\
26.616 2.11055 \\
26.67 2.12261 \\
26.714 2.13467 \\
26.744 2.14673 \\
26.765 2.15879 \\
26.779 2.17085 \\
26.79 2.18291 \\
26.8 2.19497 \\
26.811 2.20704 \\
26.824 2.2191 \\
26.838 2.23116 \\
26.856 2.24322 \\
26.879 2.25528 \\
26.907 2.26734 \\
26.941 2.2794 \\
26.977 2.29146 \\
27.015 2.30352 \\
27.052 2.31558 \\
27.088 2.32764 \\
27.121 2.3397 \\
27.152 2.35176 \\
27.181 2.36382 \\
27.206 2.37588 \\
27.224 2.38794 \\
};
\addplot
table[row sep=crcr]{
21.3891 0.049371 \\
21.4195 0.0955975 \\
21.3982 0.140881 \\
21.4619 0.196226 \\
21.4619 0.296855 \\
21.8655 0.598742 \\
21.8867 0.840252 \\
21.9292 1.09686 \\
21.9717 1.39874 \\
22.3115 1.68553 \\
22.4177 1.99245 \\
22.5451 2.28931 \\
};
\nextgroupplot[title=S2];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
20.959 0.0120603 \\
20.539 0.0241206 \\
20.468 0.0361809 \\
20.558 0.0482412 \\
20.721 0.0603015 \\
20.822 0.0723618 \\
20.895 0.0844221 \\
20.97 0.0964824 \\
21.037 0.108543 \\
21.1 0.120603 \\
21.127 0.132663 \\
21.143 0.144724 \\
21.154 0.156784 \\
21.161 0.168844 \\
21.167 0.180905 \\
21.17 0.192965 \\
21.172 0.205025 \\
21.173 0.217085 \\
21.175 0.229146 \\
21.176 0.241206 \\
21.178 0.253266 \\
21.18 0.265327 \\
21.182 0.277387 \\
21.184 0.289447 \\
21.187 0.301508 \\
21.19 0.313568 \\
21.193 0.325628 \\
21.197 0.337688 \\
21.2 0.349749 \\
21.204 0.361809 \\
21.2070000000001 0.373869 \\
21.21 0.38593 \\
21.214 0.39799 \\
21.217 0.41005 \\
21.22 0.422111 \\
21.224 0.434171 \\
21.227 0.446231 \\
21.23 0.458291 \\
21.233 0.470352 \\
21.236 0.482412 \\
21.239 0.494472 \\
21.242 0.506533 \\
21.245 0.518593 \\
21.248 0.530653 \\
21.251 0.542714 \\
21.255 0.554774 \\
21.259 0.566834 \\
21.263 0.578894 \\
21.268 0.590955 \\
21.273 0.603015 \\
21.278 0.615075 \\
21.284 0.627136 \\
21.291 0.639196 \\
21.298 0.651256 \\
21.306 0.663317 \\
21.315 0.675377 \\
21.324 0.687437 \\
21.334 0.699497 \\
21.345 0.711558 \\
21.357 0.723618 \\
21.37 0.735678 \\
21.383 0.747739 \\
21.397 0.759799 \\
21.412 0.771859 \\
21.428 0.78392 \\
21.4450000000001 0.79598 \\
21.463 0.80804 \\
21.482 0.820101 \\
21.501 0.832161 \\
21.522 0.844221 \\
21.544 0.856281 \\
21.566 0.868342 \\
21.588 0.880402 \\
21.611 0.892462 \\
21.634 0.904523 \\
21.657 0.916583 \\
21.682 0.928643 \\
21.708 0.940704 \\
21.734 0.952764 \\
21.76 0.964824 \\
21.786 0.976884 \\
21.813 0.988945 \\
21.841 1.00101 \\
21.869 1.01307 \\
21.899 1.02513 \\
21.93 1.03719 \\
21.963 1.04925 \\
21.996 1.06131 \\
22.034 1.07337 \\
22.071 1.08543 \\
22.113 1.09749 \\
22.155 1.10955 \\
22.202 1.12161 \\
22.249 1.13367 \\
22.299 1.14573 \\
22.35 1.15779 \\
22.402 1.16985 \\
22.455 1.18191 \\
22.507 1.19397 \\
22.559 1.20603 \\
22.612 1.21809 \\
22.664 1.23015 \\
22.717 1.24221 \\
22.769 1.25427 \\
22.822 1.26633 \\
22.875 1.27839 \\
22.927 1.29045 \\
22.98 1.30251 \\
23.032 1.31457 \\
23.084 1.32663 \\
23.137 1.33869 \\
23.189 1.35075 \\
23.242 1.36281 \\
23.296 1.37487 \\
23.351 1.38693 \\
23.408 1.39899 \\
23.465 1.41106 \\
23.526 1.42312 \\
23.586 1.43518 \\
23.651 1.44724 \\
23.715 1.4593 \\
23.783 1.47136 \\
23.851 1.48342 \\
23.92 1.49548 \\
23.99 1.50754 \\
24.06 1.5196 \\
24.13 1.53166 \\
24.2 1.54372 \\
24.271 1.55578 \\
24.343 1.56784 \\
24.414 1.5799 \\
24.485 1.59196 \\
24.554 1.60402 \\
24.623 1.61608 \\
24.691 1.62814 \\
24.756 1.6402 \\
24.8200000000001 1.65226 \\
24.88 1.66432 \\
24.94 1.67638 \\
24.997 1.68844 \\
25.053 1.7005 \\
25.107 1.71256 \\
25.159 1.72462 \\
25.211 1.73668 \\
25.26 1.74874 \\
25.31 1.7608 \\
25.359 1.77286 \\
25.407 1.78492 \\
25.46 1.79698 \\
25.512 1.80905 \\
25.565 1.82111 \\
25.618 1.83317 \\
25.67 1.84523 \\
25.72 1.85729 \\
25.769 1.86935 \\
25.816 1.88141 \\
25.862 1.89347 \\
25.905 1.90553 \\
25.948 1.91759 \\
25.988 1.92965 \\
26.028 1.94171 \\
26.066 1.95377 \\
26.104 1.96583 \\
26.14 1.97789 \\
26.176 1.98995 \\
26.213 2.00201 \\
26.258 2.01407 \\
26.298 2.02613 \\
26.337 2.03819 \\
26.375 2.05025 \\
26.413 2.06231 \\
26.449 2.07437 \\
26.487 2.08643 \\
26.524 2.09849 \\
26.56 2.11055 \\
26.598 2.12261 \\
26.639 2.13467 \\
26.683 2.14673 \\
26.726 2.15879 \\
26.765 2.17085 \\
26.798 2.18291 \\
26.824 2.19497 \\
26.841 2.20704 \\
26.853 2.2191 \\
26.861 2.23116 \\
26.871 2.24322 \\
26.883 2.25528 \\
26.898 2.26734 \\
26.924 2.2794 \\
26.961 2.29146 \\
27.001 2.30352 \\
27.039 2.31558 \\
27.075 2.32764 \\
27.109 2.3397 \\
27.136 2.35176 \\
27.155 2.36382 \\
27.166 2.37588 \\
27.171 2.38794 \\
};
\addplot
table[row sep=crcr]{
21.4195 0.0402516 \\
21.4195 0.090566 \\
21.3982 0.130818 \\
21.4195 0.181132 \\
21.4619 0.291824 \\
21.6106 0.598742 \\
21.6956 0.845283 \\
21.7593 1.08679 \\
21.7805 1.38868 \\
22.269 1.6956 \\
22.5239 2.00252 \\
22.8 2.29937 \\
};
\nextgroupplot[title=S1];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
20.676 0.0120603 \\
20.37 0.0241206 \\
20.4690000000001 0.0361809 \\
20.586 0.0482412 \\
20.653 0.0603015 \\
20.744 0.0723618 \\
20.933 0.0844221 \\
21.022 0.0964824 \\
21.074 0.108543 \\
21.1 0.120603 \\
21.105 0.132663 \\
21.108 0.144724 \\
21.112 0.156784 \\
21.119 0.168844 \\
21.127 0.180905 \\
21.137 0.192965 \\
21.146 0.205025 \\
21.155 0.217085 \\
21.162 0.229146 \\
21.169 0.241206 \\
21.174 0.253266 \\
21.179 0.265327 \\
21.182 0.277387 \\
21.185 0.289447 \\
21.188 0.301508 \\
21.191 0.313568 \\
21.1950000000001 0.325628 \\
21.198 0.337688 \\
21.201 0.349749 \\
21.205 0.361809 \\
21.208 0.373869 \\
21.211 0.38593 \\
21.215 0.39799 \\
21.218 0.41005 \\
21.222 0.422111 \\
21.225 0.434171 \\
21.228 0.446231 \\
21.231 0.458291 \\
21.234 0.470352 \\
21.237 0.482412 \\
21.241 0.494472 \\
21.244 0.506533 \\
21.247 0.518593 \\
21.25 0.530653 \\
21.254 0.542714 \\
21.258 0.554774 \\
21.263 0.566834 \\
21.267 0.578894 \\
21.272 0.590955 \\
21.277 0.603015 \\
21.283 0.615075 \\
21.289 0.627136 \\
21.295 0.639196 \\
21.302 0.651256 \\
21.309 0.663317 \\
21.317 0.675377 \\
21.325 0.687437 \\
21.334 0.699497 \\
21.3440000000001 0.711558 \\
21.354 0.723618 \\
21.365 0.735678 \\
21.377 0.747739 \\
21.391 0.759799 \\
21.405 0.771859 \\
21.421 0.78392 \\
21.438 0.79598 \\
21.456 0.80804 \\
21.476 0.820101 \\
21.495 0.832161 \\
21.516 0.844221 \\
21.537 0.856281 \\
21.559 0.868342 \\
21.581 0.880402 \\
21.602 0.892462 \\
21.624 0.904523 \\
21.647 0.916583 \\
21.669 0.928643 \\
21.694 0.940704 \\
21.718 0.952764 \\
21.743 0.964824 \\
21.768 0.976884 \\
21.794 0.988945 \\
21.8200000000001 1.00101 \\
21.849 1.01307 \\
21.878 1.02513 \\
21.908 1.03719 \\
21.941 1.04925 \\
21.975 1.06131 \\
22.011 1.07337 \\
22.048 1.08543 \\
22.088 1.09749 \\
22.129 1.10955 \\
22.172 1.12161 \\
22.217 1.13367 \\
22.265 1.14573 \\
22.315 1.15779 \\
22.367 1.16985 \\
22.423 1.18191 \\
22.479 1.19397 \\
22.538 1.20603 \\
22.598 1.21809 \\
22.658 1.23015 \\
22.7190000000001 1.24221 \\
22.777 1.25427 \\
22.835 1.26633 \\
22.892 1.27839 \\
22.947 1.29045 \\
23.001 1.30251 \\
23.054 1.31457 \\
23.106 1.32663 \\
23.156 1.33869 \\
23.205 1.35075 \\
23.254 1.36281 \\
23.302 1.37487 \\
23.35 1.38693 \\
23.398 1.39899 \\
23.447 1.41106 \\
23.498 1.42312 \\
23.549 1.43518 \\
23.604 1.44724 \\
23.66 1.4593 \\
23.72 1.47136 \\
23.782 1.48342 \\
23.846 1.49548 \\
23.912 1.50754 \\
23.978 1.5196 \\
24.044 1.53166 \\
24.111 1.54372 \\
24.178 1.55578 \\
24.245 1.56784 \\
24.31 1.5799 \\
24.375 1.59196 \\
24.439 1.60402 \\
24.502 1.61608 \\
24.566 1.62814 \\
24.632 1.6402 \\
24.698 1.65226 \\
24.771 1.66432 \\
24.8440000000001 1.67638 \\
24.921 1.68844 \\
24.999 1.7005 \\
25.076 1.71256 \\
25.153 1.72462 \\
25.227 1.73668 \\
25.296 1.74874 \\
25.363 1.7608 \\
25.419 1.77286 \\
25.474 1.78492 \\
25.513 1.79698 \\
25.551 1.80905 \\
25.58 1.82111 \\
25.606 1.83317 \\
25.633 1.84523 \\
25.661 1.85729 \\
25.694 1.86935 \\
25.739 1.88141 \\
25.785 1.89347 \\
25.846 1.90553 \\
25.907 1.91759 \\
25.974 1.92965 \\
26.042 1.94171 \\
26.113 1.95377 \\
26.188 1.96583 \\
26.262 1.97789 \\
26.336 1.98995 \\
26.411 2.00201 \\
26.486 2.01407 \\
26.528 2.02613 \\
26.552 2.03819 \\
26.568 2.05025 \\
26.5820000000001 2.06231 \\
26.598 2.07437 \\
26.617 2.08643 \\
26.639 2.09849 \\
26.664 2.11055 \\
26.691 2.12261 \\
26.717 2.13467 \\
26.737 2.14673 \\
26.746 2.15879 \\
26.743 2.17085 \\
26.725 2.18291 \\
26.6950000000001 2.19497 \\
26.662 2.20704 \\
26.627 2.2191 \\
26.597 2.23116 \\
26.574 2.24322 \\
26.569 2.25528 \\
26.58 2.26734 \\
26.619 2.2794 \\
26.692 2.29146 \\
26.79 2.30352 \\
26.902 2.31558 \\
27.019 2.32764 \\
27.137 2.3397 \\
27.26 2.35176 \\
27.395 2.36382 \\
27.529 2.37588 \\
27.622 2.38794 \\
};
\addplot
table[row sep=crcr]{
21.4195 0.045283 \\
21.4832 0.0955975 \\
21.4407 0.145912 \\
21.4619 0.206289 \\
21.3982 0.301887 \\
21.5469 0.593711 \\
21.5044 0.850314 \\
21.7168 1.09686 \\
21.7168 1.39371 \\
22.1841 1.69057 \\
22.3752 1.99748 \\
22.6513 2.29434 \\
};
\end{groupplot}
\end{tikzpicture}
`Credo che questo sia compilabile e l’asse X del primo grafico è quello che vorrei per tutti.
::
Si scusa pensavo non fosse cosi importante avere un codice compilabile. Eccolo qui:`begin{tikzpicture}[scale=0.75]
\begin{groupplot}[%
group style={
group name=my plots,
group size=5 by 2,
xlabels at=edge bottom,
ylabels at=edge left,
},
width=5cm,
height=10cm,
%scale only axis,
xmin=15,
xmax=30,
xtick={15,17.5,20,22.5,25,27.5,30},
xticklabels={15,,20,,25,,30},
ytick={0,0.1,0.5,1,1.5,2,2.25},
yticklabels={0,out,0.5,1,1.5,2,in},
xlabel={$Temperatura$ $(\SI{}{\celsius}) $},
ymin=0,
ymax=2.4,
ylabel={$Altezza$ $(m)$},
grid=major,
]
%\begin{axis}[
%yshift=-0.5cm,
%width=5cm,
%height=8cm,
%axis x line*=bottom,
%axis y line=none,
%xmin=288,
%xmax=303,
%xtick ={288,293,298,303},
%xticklabels ={288,293,288,303 K},
%xlabel={$Temperatura$},
%grid=none,
%every axis/.append style={font=\tiny}
%]
%\end{axis}
\nextgroupplot[title=S5];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.273 0.0120603 \\
21.062 0.0241206 \\
ecc ecc
};
\addplot
table[row sep=crcr]{
21.6531 0.0503145 \\
21.6743 0.090566 \\
ecc
};
\nextgroupplot[title=S4];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.194 0.0120603 \\
20.94 0.0241206 \\
ecc
};
\addplot
table[row sep=crcr]{
21.6531 0.0402516 \\
21.6743 0.100629 \\
ecc
};
\nextgroupplot[title=S3];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.208 0.0120603 \\
20.846 0.0241206 \\
ecc
};
\addplot
table[row sep=crcr]{
21.4195 0.0955975 \\
21.3982 0.140881 \\
ecc
};
\nextgroupplot[title=S2];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
21.028 0.0120603 \\
20.598 0.0241206 \\
ecc
};
\addplot
table[row sep=crcr]{
21.4195 0.0402516 \\
21.4195 0.090566 \\
ecc
};
\nextgroupplot[title=S1];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
20.5940000000001 0.0120603 \\
20.285 0.0241206 \\
ecc
};
\addplot
table[row sep=crcr]{
21.4195 0.045283 \\
21.4832 0.0955975 \\
ecc
};
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\nextgroupplot[title=S7];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
20.5940000000001 0.0120603 \\
20.285 0.0241206 \\
ecc
};
\addplot
table[row sep=crcr]{
21.4195 0.045283 \\
21.4832 0.0955975 \\
};
\nextgroupplot[];
\nextgroupplot[];
\nextgroupplot[];
\nextgroupplot[title=S5];
\addplot
table[row sep=crcr]{
30 0.1 \\
15 0.1 \\
};
\addplot
table[row sep=crcr]{
30 2.25 \\
15 2.25 \\
};
\addplot
table[row sep=crcr]{
20.5940000000001 0.0120603 \\
20.285 0.0241206 \\
ecc
};
\addplot
table[row sep=crcr]{
21.4195 0.045283 \\
21.4832 0.0955975 \\
ecc
};
\end{groupplot}
\end{tikzpicture}%`Di nuovo, se scommento il risultato è il link soprapostato. Mentre io vorrei che tutti i 4 grafici seguenti siano come il primo.
Grazie
::
ecco l’indirizzo dove vedere il risultato del mio codice, tutti dovrebbero uscire come il primo, o comunque una cosa simile a quella. -
AutoreRisposte