Stack Exchange
How to draw rotated hyperbola?
can someone show me how to draw rotated hyperbola like this one:

The coding that I use right now is as follows
\documentclass[tikz,border=3mm]{standalone}
\begin{document}
  \begin{center}
    \begin{tikzpicture}
    \pgfmathsetmacro{\e}{1.4}   % eccentricity
    \pgfmathsetmacro{\a}{1}
    \pgfmathsetmacro{\b}{(\a*sqrt((\e)^2-1)} 
    \draw plot[domain=-2:2] ({\a*cosh(\x)},{\b*sinh(\x)});
    \draw plot[domain=-2:2] ({-\a*cosh(\x)},{\b*sinh(\x)});

    \draw[thick, ->] (-6,0) -- (6,0) node[right]{$x$};
    \draw[thick, ->] (0,-4.5) -- (0,4.5) node[above]{$y$};
    \draw[dashed] (4,4) -- (-4,-4);
    \draw[dashed] (-4,4) -- (4,-4);
    \draw[dashed] (-0.7,0.7) -- (0.7,0.7) -- (0.7,-0.7) -- (-0.7,-0.7) -- (-0.7,0.7);
    \draw (0,2.5) node[right]{$F_1(c,0)$};
    \draw (0,-2.5) node[right]{$F_2(-c,0)$};
    \draw [fill=black] (0,2.5) circle (1.5pt);
    \draw [fill=black] (0,-2.5) circle (1.5pt);
    \draw [fill=black] (0,-1) circle (1.5pt);
    \draw [fill=black] (0,1) circle (1.5pt);
    \draw (4,4) node[above right]{$y=\dfrac{b}{a}x$};
    \draw (-3,4) node[above left]{$y=-\dfrac{b}{a}x$};
    \draw (0,1) node[above right]{\scriptsize $v_1(a,0)$};
    \draw (0,-1.2) node[below right]{\scriptsize $v_2(-a,0)$};
    \end{tikzpicture}
\end{center}
\end{document}

which produces


It suffices to swap the x and y components in your parametric plots.
\documentclass[tikz,border=3mm]{standalone}
\usepackage{mathtools}
\begin{document}
\begin{tikzpicture}
    \pgfmathsetmacro{\e}{1.4}   % eccentricity
    \pgfmathsetmacro{\a}{1}
    \pgfmathsetmacro{\b}{(\a*sqrt((\e)^2-1)} 
    \draw plot[domain=-2:2] ({\b*sinh(\x)},{\a*cosh(\x)});
    \draw plot[domain=-2:2] ({\b*sinh(\x)},{-\a*cosh(\x)});

    \draw[thick, ->] (-6,0) -- (6,0) node[right]{$x$};
    \draw[thick, ->] (0,-4.5) -- (0,4.5) node[above]{$y$};
    \draw[dashed] (4,4) -- (-4,-4);
    \draw[dashed] (-4,4) -- (4,-4);
    \draw[dashed] (-0.7,0.7) -- (0.7,0.7) -- (0.7,-0.7) -- (-0.7,-0.7) -- (-0.7,0.7);
    \draw (0,2.5) node[right]{$F_1(c,0)$};
    \draw (0,-2.5) node[right]{$F_2(-c,0)$};
    \draw [fill=black] (0,2.5) circle (1.5pt);
    \draw [fill=black] (0,-2.5) circle (1.5pt);
    \draw [fill=black] (0,-1) circle (1.5pt);
    \draw [fill=black] (0,1) circle (1.5pt);
    \draw (4,4) node[above right]{$y=\dfrac{b}{a}x$};
    \draw (-3,4) node[above left]{$y=-\dfrac{b}{a}x$};
    \draw (0,1) node[above right]{\scriptsize $v_1(a,0)$};
    \draw (0,-1.2) node[below right]{\scriptsize $v_2(-a,0)$};
\end{tikzpicture}
\end{document}


The same is achieved with rotate=90, i.e.
\draw[rotate=90] plot[domain=-2:2] ({\a*cosh(\x)},{\b*sinh(\x)});
\draw[rotate=90] plot[domain=-2:2] ({-\a*cosh(\x)},{\b*sinh(\x)});

BTW, you should not use a center environment in a standalone class, and need to load a package that defines \dfrac.
