I want to make a graph of the unit hyperbola, but I'm not sure how to make it appear using pgfplots. Basically, what I'm using is this:
\documentclass[12pt]{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot[blue,domain=0:2pi,samples=201]{(cosh(x))^2-(sinh(x))^2=1};
\end{axis}
\end{tikzpicture}
\end{document}
What I really want is the right-hand hyperbola with its asymptotes sketched, as well. Any ideas?
=1
and use2*pi
instead of2pi
. Don't think this is the function you were looking for though.