Created
April 30, 2020 09:16
-
-
Save jakewilliami/3219a3a325fb209bb4d0e7d01c913303 to your computer and use it in GitHub Desktop.
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
\documentclass[border=6pt]{standalone} | |
\usepackage{garamondx} | |
\usepackage{pgfplots} | |
\usepackage{tikz} | |
\usepgfplotslibrary{units} | |
\usepackage{xcolor} | |
\definecolor{redtea}{rgb}{0.6823529412,0.2792156863,0.2666666667} | |
\definecolor{darkolivegreen}{rgb}{0.33, 0.42, 0.18} | |
\definecolor{darkelectricblue}{rgb}{0.33, 0.41, 0.47} | |
\usepackage{siunitx} | |
\usepackage{changepage} | |
\usepackage{calc} | |
\pgfplotsset{samples} | |
\tikzstyle{dashedline}=[dashed, draw=gray, very thick] | |
\begin{document} | |
\begin{tikzpicture} | |
\begin{axis}[ | |
width=\linewidth, | |
grid=major, | |
grid style={gray!30}, | |
ylabel={\scshape $\mathbf{[A]_0\%}$}, | |
xlabel={\scshape \bfseries Time, $\mathbf{t}$}, | |
xtick={}, | |
xticklabels={}, | |
ytick={}, | |
yticklabels={}, | |
ymin=0, | |
xmin=0, | |
xmax=30 | |
] | |
\addplot[redtea] [line width=0.6ex,smooth,domain=-0:30,samples=1000] {(1-log10(x/2))+0.2}; | |
\addplot[darkolivegreen] [line width=0.6ex,smooth,domain=-0:30,samples=1000] {(log10(x)+1.5)/1.5}; | |
\addplot[darkelectricblue] [line width=0.6ex,smooth,domain=-0:30,samples=1000] {(log10(0.05*x)+2)/2.5}; | |
\addplot[gray] [line width=0.6ex,smooth,dashed,domain=-0:30,samples=1000] {2}; | |
\addplot[gray] [line width=0.6ex,smooth,dashed,domain=-0:30,samples=1000] {0.9}; | |
\end{axis} | |
\node at(8,7.5) {\textcolor{darkolivegreen}{\scshape\bfseries Concentration [B]}}; | |
\node at(8,8) {\textcolor{redtea}{\scshape\bfseries Concentration [A]}}; | |
\node at(8,7) {\textcolor{darkelectricblue}{\scshape\bfseries Concentration [C]}}; | |
\node at(9.5,5.7) {\textcolor{gray}{\scshape\bfseries $\mathbf{[B]=\frac{10a}{11}}$}}; | |
\node at(9.5,2.8) {\textcolor{gray}{\scshape\bfseries $\mathbf{[C]=\frac{a}{11}}$}}; | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment