Re: two y-axis
- To: mathgroup at smc.vnet.net
- Subject: [mg27284] Re: [mg27288] two y-axis
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Sat, 17 Feb 2001 03:31:01 -0500 (EST)
- References: <200102160858.DAA13539@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I presume you mean two functions on the same graph. If so, you may use the Frame->True option and use a set of tick definitions for each axis. A trivial and quite artificial example, where I'm renaming the ticks on the right-hand y axis: In[1]:= Plot[{Sin[x], 5*Sin[x]}, {x, -Pi, Pi}, Frame -> True, FrameTicks -> {Automatic, Range[-4, 4], Automatic, {{0, "0"}, {-1, "-0.1"}, {-2, "-0.2"}, {-3, "-0.3"}, {-4, "-0.4"}, {1, "0.1"}, {2, "0.2"}, {3, "0.3"}, {4, "0.4"}}}] For the case of lists, there is Graphics`MultipleListPlot`. Tomas Garza Mexico City ----- Original Message ----- From: "Bernd Brandt" <bernd at bio.vu.nl> To: mathgroup at smc.vnet.net Subject: [mg27284] [mg27288] two y-axis > Dear group, > > Does anyone have code or know how to plot two functions in Mathematica, each on > a different y-axis. I haven't found whether it is possible to use to > y-axes in Plot. > > > > Regards, > Bernd >
- References:
- two y-axis
- From: bernd@bio.vu.nl (Bernd Brandt)
- two y-axis