Displaying 2 results from an estimated 2 matches for "boxratios".
2003 Aug 30
1
3D plot of a bivariate normal distribution
...))*Exp[(-1/(2*(1-c^2)))*(
((x-u)/Sqrt[a])^2 + ((y-v)/Sqrt[b])^2
- 2*c(((x-u)/Sqrt[a])((y-v)/Sqrt[b]))
)]
{{a,c}, {c,b}} = {{1,0}, {0,1}}; The covariance Matrix
{u,v} = {0,0}; Mean vector
Plot3D[NB[x,y],{x,-1.5,1.5},{y,-1.5,1.5},
AxesLabel->{x,y,z},
BoxRatios->{1,1,1}];
ContourPlot[NB[x,y],{x,-1,1},{y,-1,1},
Axes->True,
AxesLabel->{x,y}];
3d graph rotation
Do[
Plot3D[NB[x,y],{x,-1.5,1.5},{y,-1.5,1.5},
PlotPoints->20,
Mesh ->False,
SphericalRegion ->True,
Axes ->None,
Boxed ->False,
ViewPoint->{2 Cos[t], 2 Si...
2003 Sep 01
0
Re: Plotting bivariate normal distributions.
...))*Exp[(-1/(2*(1-c^2)))*(
((x-u)/Sqrt[a])^2 + ((y-v)/Sqrt[b])^2
- 2*c(((x-u)/Sqrt[a])((y-v)/Sqrt[b]))
)]
{{a,c}, {c,b}} = {{1,0}, {0,1}}; The covariance Matrix
{u,v} = {0,0}; Mean vector
Plot3D[NB[x,y],{x,-1.5,1.5},{y,-1.5,1.5},
AxesLabel->{x,y,z},
BoxRatios->{1,1,1}];
ContourPlot[NB[x,y],{x,-1,1},{y,-1,1},
Axes->True,
AxesLabel->{x,y}];
3d graph rotation
Do[
Plot3D[NB[x,y],{x,-1.5,1.5},{y,-1.5,1.5},
PlotPoints->20,
Mesh ->False,
SphericalRegion ->True,
Axes ->None,
Boxed ->False,
ViewPoint->{2 Cos[t], 2 Si...