Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10432
| From | "Ste[hen Gray" <stevebg@roadrunner.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Simple display questions |
| Date | 2012-06-12 07:01 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jr6pgk$pac$1@smc.vnet.net> (permalink) |
I have this code:
p0 = {{0, 0, 0}, {2,1,2}, {4,1,2}, {3,3,2}, {
1,2,1}, {2,1,1}};
p = Transpose[{p0, Append[Rest[p0], First[p0]]}];
c = Table[Hue[Mod[i, 7]/7], {i, Length[p]}];
Graphics3D[Thread[{c, Cylinder[#, 0.07] & /@ p}], Boxed -> True,
Axes -> True, AxesLabel -> {x, y, z}, ViewPoint -> {20, 20, 20},
AspectRatio -> 1]
I haven't used Mathematica for 5 years and I have forgotten a lot.
1. How do I get a label on each point? 1,2,3,4,5,6 would be OK.
2. How do I control the size and color, etc. of those labels?
3. When I move the six points (actually I use Manipulate), the size of
the box changes, making the change in the polygon confusing. How do I
keep the box from changing?
4. I assume there is no way to drag the points on the display and have
the coordinates change accordingly. (Maybe it can in 2D displays?)
Thank you for any info.
Steve Gray
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Simple display questions "Ste[hen Gray" <stevebg@roadrunner.com> - 2012-06-12 07:01 +0000
csiph-web