Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6109
| From | Ross Martin-Wells <rossmart@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Question: 2 z-Axis scales in Plot3D? |
| Date | 2011-11-02 11:22 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j8r96f$3g8$1@smc.vnet.net> (permalink) |
Hello,
I am trying to find a way to make a Plot3D graph with two different scales
for the Z axis. I saw many options for using FrameTicks in 2D systems, but
this seems to be because each frameaxis has its own place held in
FrameLabel or the Ticks section, i.e. there are four places for the 2D
graph {top,bottom, left,right}. For the Plot3D, all options seem to only
recognize 3 axes, though I can move the axis that is labeled between any of
the four options using AxesEdge. I feel that I should be able then to
label any and all of the 12 axes if I so wished. I have also tried
relabeling two graphs and showing them on top of each other, but this just
seems to default to the first set of options. For example, some code I
have used:
a = Plot3D[x y, {x, 0, 1}, {y, 0, 1},
AxesEdge -> {{1, 1}, {-1, -1}, {-1, 1}},
Ticks -> {{{0, "0 M"}, {.5, ".5 M"}, {1, "1 M"}}, {{0, "0 n"}, {.5,
".5 n"}, {1, "1 n"}}, {{-1, "-1Z"}, {0, "0Z"}, {1, "1Z"}}}]
b = Plot3D[x y, {x, 0, 1}, {y, 0, 1},
AxesEdge -> {{1, 1}, {-1, -1}, {1, -1}},
Ticks -> {{{0, "0 M"}, {.5, ".5 M"}, {1, "1 M"}}, {{0, "0 n"}, {.5,
".5 n"}, {1, "1 n"}}, {{-1, "-1B"}, {0, "0B"}, {1, "1B"}}}]
Show[{b, a}, PlotRange -> All]
any help or directions to a previous answer would be much appreciated
Ross
--
Physics Graduate Student
Penn State University
104 Davey Lab
Box 23
University Park, PA 16802
(203)-858-0750
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Question: 2 z-Axis scales in Plot3D? Ross Martin-Wells <rossmart@gmail.com> - 2011-11-02 11:22 +0000
csiph-web