How to plot 3 dimensional graph for x^2 - y^2 = 1? I am already using it and I only can plot in 2 dimensional graph. Can someone help me with this problem?
3 Answers
$\begingroup$
$\endgroup$
In Mathematica tongue x^2 - y^2 = 1
is pronounced as
x^2 - y^2 == 1
x^2-y^2=1
It is a hyperbola, Wolfram|Alpha is verry helpfull for first findings,
The Documentation Center (hit F1) is helpfull as well, see Function Visualization,
Plot3D[x^2 - y^2 == 1, {x, -5, 5}, {y, -5, 5}]
ContourPlot3D[x^2 - y^2 == 1, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}]
RegionPlot3D[x^2 - y^2 - 1 > 0, {x, -5, 5}, {y, -5, 5}, {z, -5, 5}]
And to get the Wolfram|Alpha Plot:
ContourPlot[x^2 - y^2 == 1, {x, -5, 5}, {y, -5, 5}, Axes -> True,
Frame -> False, AxesLabel -> {x, y}]
$\begingroup$
$\endgroup$
Taking Rahul's idea:
ContourPlot3D[x^2 - y^2 == 1, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}]
$\begingroup$
$\endgroup$
Show[
ParametricPlot3D[{u,Sqrt[u^2-1],v},{u,-2,2},{v,-2,2}],
ParametricPlot3D[{u,-Sqrt[u^2-1],v},{u,-2,2},{v,-2,2}]
]
ContourPlot3D
. $\endgroup$