-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinear.tex
More file actions
31 lines (27 loc) · 894 Bytes
/
linear.tex
File metadata and controls
31 lines (27 loc) · 894 Bytes
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
28
29
30
31
\documentclass{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ /pgf/number format/.cd, y tick label style={/pgf/number format/.cd,%
scaled y ticks = false,
set thousands separator={},
fixed}, xlabel={Resonant Magnetic Field [mTesla]}, ylabel={Resonant Frequency [kHz]}]
\addplot[mark size=0.5, only marks,
error bars/.cd,
y dir=both, y explicit,
x dir=both, x explicit
]
table [x error index=3, y error index=4]
{data_glycerin.txt};
\addplot[mark size = 0.5, only marks,color=black]
table [x index = 0, y index= 1]
{data_glycerin.txt};
\addplot[no markers,color=blue]
table [x index = 0, y index= 2]
{data_glycerin.txt};
\addlegendentry{\hspace{-.6cm}$42.9(6)B_{0}-$}
\end{axis}
\end{tikzpicture}
\end{document}