6

I would like to draw an energy diagram with a maximum point. I started with this code:

\documentclass[openany,twoside]{book}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[>=latex]
\draw[<->](0,5)node[above,rotate=90,xshift=-2cm]{Energy}|-
(5,0)node[below,xshift=-2cm]{Reaction coordinate}; 
\draw (0,2.5)--(1,2.5); 
\draw[dashed](1,2.5)--(2.6,2.5);
\draw (3.9,1)--(4.7,1); 
\draw[dashed](3.9,1)--(2.4,1);
\draw plot[smooth] coordinates{(1,2.5)(2.5,4.5)(3.6,1.4)(3.9,1)}; 
\end{tikzpicture}
\end{document}

This resulted into:

enter image description here

My target is to have the image below:

enter image description here

1
  • Does it need to be precise in some way or the other? Dec 7 '21 at 14:41
5

I don't know how precise you need this graph to be, but if it doesn't need to be too precise, you could probably go with this rough approximation:

\documentclass[tikz, border=1mm]{standalone}

\begin{document}
\begin{tikzpicture}[>=latex]
\draw[<->](0,5)node[above,rotate=90,xshift=-2cm]{Energy}|-
(5,0)node[below,xshift=-2cm]{Reaction coordinate}; 
\draw (0,2.5)--(1,2.5); 
\draw[dashed](1,2.5)--(2.6,2.5);
\draw (3.9,1)--(4.7,1); 
\draw[dashed](3.9,1)--(2.4,1);
\draw (1,2.5) to[in=180, out=0, looseness=.65] (2.35,4.5) to[in=180, out=0, looseness=.45] (3.9,1); 
\end{tikzpicture}
\end{document}

enter image description here

2
  • @Jasper_Habicht deal done
    – Kidegalize
    Dec 7 '21 at 14:55
  • Then this also answers my question to your post in the comments =) Dec 7 '21 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.