- Questo topic ha 1 risposta, 2 partecipanti ed è stato aggiornato l'ultima volta 10 anni, 8 mesi fa da .
-
Topic
-
Ciao, volevo scrivere i due numeri 10000 e 15000 che compaiono sull’ascissa con il comando [tt]/,[/tt] perché volevo ottenere 10 000 e 15 000 (volevo ottenere quello spazio per capirsi per una migliore leggibilità).Tuttavia ottengo un errore:
` Package pgfplots notification 'compat/show suggested version=true': document ha
s been generated with the most recent feature set (\pgfplotsset{compat=1.9}).! Missing \endcsname inserted.
\protect
l.37 ]? `
Come posso risolvere? Grazie, ciao.
`\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}\begin{document}
\section{Introduzione}\begin{figure}
\centering\begin{tikzpicture}
\begin{axis}[
ybar,
height=6cm,
width=8cm, %larghezza dell'asse delle ascisse
enlarge y limits=false,
axis lines*=left,
ymin=0,
ymax=60,
legend style={at={(0.5,-0.2)},
anchor=north,legend columns=-1},
ylabel={Nu\ped{medio}},
symbolic x coords={Re=5000,Re=10000,Re=15000},
xtick=data,
nodes near coords,
every node near coord/.append style={
anchor=mid west,
rotate=70
}
]
\addplot coordinates {(Re=5000,23.49) (Re=10000,39.27) (Re=15000,52.47)};
\addplot coordinates {(Re=5000,21.87) (Re=10000,37.99) (Re=15000,49.63)};
\legend{corr.,exp.}
\end{axis}\end{tikzpicture}
\caption{Confronto tra correlazione e dati sperimentali, del valore medio del numero di Nusselt di tutte le file}\label{fig:istogramma}
\end{figure}
\end{document}`[attachment=1499]Screenshotfrom2016-01-14212448.png[/attachment]
- Devi essere connesso per rispondere a questo topic.