Created
April 18, 2017 12:58
-
-
Save Kappie/90cac1fda12a5de0f09d0f5ed4475f4c to your computer and use it in GitHub Desktop.
plot_example.tikz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{tikzpicture} | |
\def \filelocation {'plots/data/order_param_vs_T_q2_N40-1000_trunc_error1e-6.dat'} | |
\begin{axis}[ | |
name={plot1}, | |
title={blaf}, | |
xlabel={$T$}, | |
ylabel={$M(N, T)$}, | |
legend style = { | |
legend pos = south west, | |
}, | |
legend cell align = left, | |
] | |
\addplot+[] gnuplot [raw gnuplot] { plot \filelocation index 3}; | |
\addplot+[] gnuplot [raw gnuplot] { plot \filelocation index 2}; | |
\addplot+[] gnuplot [raw gnuplot] { plot \filelocation index 1}; | |
\addplot+[] gnuplot [raw gnuplot] { plot \filelocation index 0}; | |
% \addplot[ | |
% mark=none, | |
% black | |
% ] | |
% coordinates {(2.26918, 0) (2.26918, 1)} | |
% \node[above] at (2.26918, 0) {$T_c$}; | |
\addplot[mark=none, black, dashed, semithick, update limits=false] | |
coordinates {(2.26918,-1) (2.26918,1)}; | |
\legend{$n = 40$, $n = 100$, $n = 400$, $n = 1000$}; | |
\end{axis} | |
\end{tikzpicture} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment