Re: Plotting two differently scaled graphs together
- To: mathgroup at smc.vnet.net
- Subject: [mg51542] Re: Plotting two differently scaled graphs together
- From: Mike <m.HoneychurcNOSPAMh at uq.edu.au>
- Date: Thu, 21 Oct 2004 22:21:12 -0400 (EDT)
- Organization: University of Queensland
- References: <cl2du8$mf3$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
This info: http://support.wolfram.com/mathematica/graphics/2d/twoaxisgraph.html May do what you need. Cheers Mike On 19/10/04 4:58 PM, in article cl2du8$mf3$1 at smc.vnet.net, "Marcin Mirski" <marcinmirski at hotmail.com> wrote: > Hi, I am preparing some graphs for a university lab course, and I can't > figure out how to scale and plot two graphs together, along with scaled > y-axes. > > I am plotting Yield and Ultimate tensile stress, both on the order of > 100-500MPa, along with %elongation, which ranges from .25-16.75. %Cold Work > is the x-axis. > > DisplayTogether[ListPlot[S_y, PlotStyle -> PointSize[0.01]], > ListPlot[S_u, PlotStyle -> PointSize[0.01]], > ListPlot[Elong, PlotStyle -> PointSize[0.01]], > AxesLabel -> {"%CW", MPa}, > PlotLabel -> "YS, UTS, and %Elongation vs %CW of Brass"] > > Of course, Elong ends up being an almost horizontal line along the bottom. > How can I scale Elong by about 25, and add a 2nd y-axis on the right-hand of > the graph to reflect the scaling? I've looked through the Help and searched > a bit through the list archives, but I haven't found anything. > > Thanks for your time, > Marcin > >