Help with 3D Graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg33845] Help with 3D Graphics
- From: "Debbie Carlini" <dmc522 at earthlink.net>
- Date: Fri, 19 Apr 2002 02:29:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I am doing a project for school and need to be able to plot a 3D graph that
goes from 0 to 1 in x, y and z directions. I also need to be able to plot a
set of 3d points on the same graph as the 3d graph.
Here is what i have so far, the problem is that my second graph does not go
from 0 to 1 in the z direction like the first graph. I think it is a
problem with converting Plot3D to Graphics3D.
Show[
Graphics3D[{ PointSize[0.05], Point[{0, 0, 0}] } ],
Graphics3D[{ PointSize[0.05], Point[{0, 0, 1}] } ],
Graphics3D[{ PointSize[0.05], Point[{0, 1, 0}] } ],
Graphics3D[{ PointSize[0.05], Point[{0, 1, 1}] } ],
Graphics3D[
Plot3D[2x + y, {x, 0, 1}, {y, 0, 1}, PlotRange -> {0, 1},
ClipFill -> None ]]
]
Would my problem be solved if i used ScatterPlot3D to plot the points. The
problem i've found with this is that ScatterPlot3D will not work in Show
command.
Thanks