Re: Two independent y axes ?
- To: mathgroup at smc.vnet.net
- Subject: [mg65358] Re: Two independent y axes ?
- From: "Janko Slavic" <janko.slavic at gmail.com>
- Date: Tue, 28 Mar 2006 04:05:25 -0500 (EST)
- References: <e08kib$4a6$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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]