summaryrefslogtreecommitdiffstats
path: root/labb/experimentell-problemlösning/c1_c2.tex
blob: f584239908480be75b9a46b89b3470918b0fd4eb (plain) (blame)
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
32
33
\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=$y$,
  xlabel=$x$,
  xmin=-0.0005, xmax=,
%  ymin=1.85, ymax=2.65,
  xticklabel style={
          /pgf/number format/fixed,
          /pgf/number format/precision=5
  },
  scaled x ticks=false,
  scaled y ticks=false,
  legend pos = outer north east,
]
%  \addplot+ [mark=none,domain=-7:-5] {-1.897*x - 9.4668};
%  \addlegendentry {$-1.9x - 9.5$};
  \addplot+ [only marks,mark=*,color=blue,mark options={fill=blue}] table [col sep=comma, x index=0, y index=1] {data/c1_c2.csv};
\end{axis}
\end{tikzpicture}

\end{document}