MathGroup Archive 2006

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

Search the Archive

Re: Two independent y axes ?


Hi!

I guess there is a better way, but that works:
///////////////
fA[x_] := Sin[x];
fB[x_] := -3 + 5 Cos[x]
const := 5
figA = Plot[fA[x], {x, 0, p}, DisplayFunction -> Identity];
figB = Plot[fB[x]/const, {x, 0, p}, PlotStyle -> Hue[
    0], DisplayFunction -> Identity];
ticksB = Table[{i, IntegerPart[const i]}, {i, -2, 1, 0.2}];
Show[{figA, figB},
       Frame -> True, FrameTicks -> {Automatic,
        Automatic, None, ticksB}, DisplayFunction -> $DisplayFunction]


  • Prev by Date: StringForm bug?
  • Next by Date: Re: Two independent y axes ?
  • Previous by thread: Two independent y axes ?
  • Next by thread: Re: Two independent y axes ?