To plot functions in the form of y=f(x)
, we simply write
\draw [smooth,samples=100,domain=0:2] plot(\x,{(\x)...});
But how about functions like x=f(y)? How to plot them? How to specify their domains in terms of "y"?
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw [smooth,samples=100,domain=0:2] plot(???);
\end{tikzpicture}
\end{document}
Best Answer