I want to create a parabola that intersects a vertical line at a particular point. Can someone help me with this?
my MWE is
\usepackage{tikz}
\usetikzlibrary{intersections,shapes,arrows,calc}
\usepackage{esvect}
\usepackage{relsize}
\begin{tikzpicture}
% New graph - bottow left
\draw[<->,rounded corners, thick] (0,2.5) node(yline)[left] {$r$} -- (0,0) -- (3,0) node(yline)[below] { $Y$};
\draw (1.5,0) -- (1.5,2.5);
\node[label=right:$\overline{S}(Y_{A})$] at (1.5,2.5) {};
\node[ circle,fill=black,minimum size=2pt,inner sep=0pt, outer sep=-1pt, label=left:$r^*_{A}$] at (0,1.5) {};
\draw[dashed] (0,1.5) -- (1.5,1.5) ;
\draw (0.8,2.5) parabola[bend at end] (1.5,1.5) ;
\draw (1.5,1.5) parabola[bend at end] (2.5,1.2) ;
\end{tikzpicture}
Which produces the following agly picture:
I am very rigid about the intersection point. In my case the parabola has to pass through the (1.5,1.5) point
Any help to make the graph look better ?
\draw (0.5,2.5) parabola[bend at end] (2.5,3.5/3) ;
contains the point (1.5,1.5). – TonioElGringo Jul 3 '17 at 15:49