Risposte nei forum create
-
AutoreRisposte
-
::
Grazie ad @OldClaudio per la guida utilissima!!Secondo voi è accettabile, credo che è questo è l’unico modo di poter etichettare le varie curve:

Ho seguito la guida sapercomunicare che suggerisce di non sfruttare troppo il colore specie per stampe che saranno certamente in bianco e nero
::
una domanda sono riuscito a realizzare sempre nello stesso ciclo foreach la creazione di una legenda solo che dato il numero di curve esce fuori dall’immagine. Volevo un consiglio su come poter indicare queste curve che sono ad un angolo differente. Cioè in questi casi come si etichettano le curve data la mole?
::
i tuoi suggerimenti sono stati preziosissimi, infatti non so come ringraziarti specie per il documento della NIST è un piccolo manualetto da tenere ben aperto insieme ad ArteLaTex quando si lavora specie in questo ambiente. Devo ammettere la mia palese ignoranza in questo ambito in quanto nè alle superiore nè all’università nessun ci dice come “compilare” correttamente un rapporto tecnico e farlo come si deve. Grazie ancora!!!!
::
ragazzi io ho installato la teXlive intel 64 per Mac OSX. Il texeditor è il TeXnicle. Comunque ho controllato anche i file non sono “01.dat”, il loro nome è “1.dat”. Comunque in parte ho risolto creando con Matlab un’unico file e richiamandomi tutte le colonne in questo modo credo che la soluzione è abbastanza decente:
`\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.1pt] table[x index=0,y index=\i]{dati/beta.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}`
e anche il risultato non è male credo :P:
Vi volevo chiedere un’ultima cosa io sto seguendo la guida a pgfplots fatta dal mio docente Agostino De Marco e c’è una sezione in cui si parla di un’etichettatura semi-automatica dichiarando all’inizio una pgfkeys e poi richiamandolo come opzione di addplot secondo voi è possibile richiamare questa funzione per creare delle etichette in modo automatico. E anche se è possibile implementare più colori differenti per le curve.
::
Non mi funge :(((( mi da sempre lo stesso errore:
`See the pgfplots package documentation for explanation.
Type Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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 Hfor 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?
::
ragazzi vi voglio ringranziare per l’aiuto di da parte di tutti anche se erano cose off topic, ho letto l’ “arte” solo che in ogni caso ho un problema durante la compilazione ovvero mi esce sempre :
`I couldn't open file name `biblio.vers1.aux'
`cioè io seleziono come motore di compilazione bibtex e avvio la compilazione e mi esce questo errore. Si tratta di generare il file .aux ?
Tutto ciò avviene con un editor latex per mac “TeXShop
-
AutoreRisposte