MathGroup Archive 2004

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

Search the Archive

Re: Plotting two differently scaled graphs together


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
> 
> 


  • Prev by Date: Re: Extrapolation in mathematica
  • Next by Date: Re: Relative hyperlink
  • Previous by thread: Re: Plotting two differently scaled graphs together
  • Next by thread: MultipleListPlot without any Point Shape, only with line made by PlotJoined -> True