Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Plotting two differently scaled graphs together

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51467] Plotting two differently scaled graphs together
  • From: "Marcin Mirski" <marcinmirski at hotmail.com>
  • Date: Tue, 19 Oct 2004 02:55:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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



  • Prev by Date: Relative hyperlink
  • Next by Date: Re: Simple question sabout setting directory
  • Previous by thread: Re: Relative hyperlink
  • Next by thread: Re: Plotting two differently scaled graphs together