Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Question: 2 z-Axis scales in Plot3D?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122578] Question: 2 z-Axis scales in Plot3D?
  • From: Ross Martin-Wells <rossmart at gmail.com>
  • Date: Wed, 2 Nov 2011 06:20:50 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

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


  • Prev by Date: Re: Simple question about inverse of a function
  • Next by Date: Re: Coin Toss Sim
  • Previous by thread: Re: Export Spoken Sound (Speak-> .wav file?)
  • Next by thread: Re: Question: 2 z-Axis scales in Plot3D?