1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
\documentclass[tikz,border=0.1in]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb, amsmath, amsthm}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\begin{document}
\begin{tikzpicture}
\begin{axis} [
ylabel=$\mathrm{ln}(T)$,
xlabel=$\mathrm{ln}(L)$,
xmin=-2.1, xmax=-0.9,
ymin=-0.45, ymax=0.14,
legend pos = outer north east,
]
\addplot+ [mark=none] {0.4601*x + 0.5066};
\addlegendentry {$0.46x + 0.51$};
\addplot+ [only marks,mark=*,color=blue,mark options={fill=blue}] table [col sep=comma, x index=2, y index=3] {data/var_l.csv};
\end{axis}
\end{tikzpicture}
\end{document}
|