Re: Errore Pgfplots: Coordinates

#91122
Up
0
Down
::


Non mi funge :(((( mi da sempre lo stesso errore:
`
Error: Could not read table file 'dati/beta/1.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/2.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/3.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/4.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/5.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/6.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/7.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/8.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/9.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).

See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.

(/usr/local/texlive/2013/texmf-dist/tex/latex/lm/t1lmss.fd
LaTeX Font Warning: Font shape `T1/lmr/bx/sc' undefined
(Font) using `T1/lmr/bx/n' instead on input line 106.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/1.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/2.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/3.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/4.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/5.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/6.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/7.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/8.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
./Main.tex:150: Package pgfplots Error: Could not read table file 'dati/beta/9.
dat'. In case you intended to provide inline data: maybe TeX screwed up your en
d-of-lines? Try `row sep=crcr' and terminate your lines with `\\' (refer to the
pgfplotstable manual for details).
See the pgfplots package documentation for explanation.
Type H for immediate help.

l.150 \expandafter\addplot\mytemp;}

Package pgfplots Warning: the current plot has no coordinates (or all have been
filtered away) on input line 150.
(/usr/local/texlive/2013/texmf-dist/tex/latex/lm/t1lmss.fd
) [1{/usr/local/texli
ve/2013/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./UNINA.pdf>]
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
[2] (./Main.aux)
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
)
(see the transcript file for additional information){/usr/local/texlive/2013/te
xmf-dist/fonts/enc/dvips/lm/lm-mathit.enc}{/usr/local/texlive/2013/texmf-dist/f
onts/enc/dvips/lm/lm-ec.enc}{/usr/local/texlive/2013/texmf-dist/fonts/enc/dvips
/lm/lm-mathsy.enc}{/usr/local/texlive/2013/texmf-dist/fonts/enc/dvips/lm/lm-rm.
enc}
Compile aborted.
Output written on Main.pdf (2 pages, 655408 bytes).
SyncTeX written on Main.synctex.gz.
Transcript written on Main.log.
*** pdflatex.engine has completed.
`

il codice:
`\begin{figure}
\begin{center}
\begin{tikzpicture}
\begin{axis}[grid, xlabel={$M_1$ [-]}, ylabel={$\beta$ [\si{\degree}]}]
\foreach \i in {1,2,3,…,20} {\edef\mytemp{+[no marks, line width=1.2pt] table {dati/beta/\i.dat}}
\expandafter\addplot\mytemp;}
\end{axis}
\end{tikzpicture}
\caption{Angolo d'urto in funzione del numero di Mach a monte dell'onda d'urto al variare dell'angolo $\theta$}
\label{fig:beta}
\end{center}
\end{figure}`

in sostanza tu dice che comunque i dati devono essere prima letti e memorizzati e poi plottati?

Go to top