Re: plotting two functions on the one graph
- To: mathgroup at smc.vnet.net
- Subject: [mg52952] Re: plotting two functions on the one graph
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Fri, 17 Dec 2004 05:20:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 12/16/04 at 3:40 AM, fmurphy at nmrc.ie (Frank Murphy) wrote: >siafra at vaxsa.csied.unisa.it wrote: >:I'm a student in physics at the University of Salerno, Italy and I'm >:using Mathematica 3.0 under Win95. My question is : how can I plot >:two functions f(x), g(x) with the same x range on two different >:y-axes, say the one for f(x) at left and the one for g(x) at right ? Use FrameTicks. For example, Plot[{10*x, 1/x}, {x, 0.1, 1}, Frame -> True, FrameTicks -> {Automatic, Automatic, None, ({#1, #1/10} & ) /@Range[2., 10, 2.]}]; For even greater flexibility, take a look at David Park's DrawGraphics package available on his web site -- To reply via email subtract one hundred and four