RE: Two plots, two ranges with a Stress-Strain diagram
- To: mathgroup at smc.vnet.net
- Subject: [mg30861] RE: [mg30803] Two plots, two ranges with a Stress-Strain diagram
- From: "Wolf, Hartmut" <Hartmut.Wolf at t-systems.de>
- Date: Fri, 21 Sep 2001 04:03:59 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Tom,
this is not a problem of Show, but of the eye. A log-log-plot will reveal
the detail at low stress:
<< Graphics`Graphics`
In[15]:=
LogLogListPlot[x, PlotJoined -> True,
AxesLabel -> {"e(in.in.)", "\[Sigma](ksi)"}, PlotStyle -> RGBColor[1, 0,
0]]
Now you clearly will have seen the linear elastic range. The error message
>From In[15]:=
Graphics::"gptn" : "Coordinate -[Infinity] in {-\[Infinity], 0} is not a
floating-point number."
is a useful reminder.
-- Hartmut Wolf
> -----Original Message-----
> From: Tom Morris [mailto:tsm145 at psu.edu]
To: mathgroup at smc.vnet.net
> Sent: Wednesday, September 19, 2001 6:17 AM
> Subject: [mg30861] [mg30803] Two plots, two ranges with a Stress-Strain diagram
>
>
> I've got the following list of test data.
> x = {{0, 0}, {.0175, 11.1}, {.06, 31.9}, {.102, 37.8}, {.165,
> 40.9}, {.249,
> 43.6}, {1.016, 53.4}, {3.048, 62.3}, {6.35, 64.5}, {8.89,
> 62.3}, {11.938, 58.8}}
> and have plotted them seperately,
>
> p1 = ListPlot[x, PlotRange -> {{0, 13}, {0, 70}}, PlotJoined -> True,
> AxesLabel -> {"e(in.in.)", "\[Sigma](ksi)"},
> PlotStyle -> RGBColor[1, 0, 0]]
> and:
>
> P2 = ListPlot[x, PlotRange -> {{0, .25}, {0, 70}}, PlotJoined -> True,
> PlotStyle -> RGBColor[1, 0, 0]]
>
> what I'd like to do is plot the whole Stress-Strain diagram
> given by p1 and
> the Elastic region given by p2 on the same graph.
> Show[p1,p2] will plot the
> points, but of course the detail I'm trying to show from p1
> from 0 to .25
> with p2 just gets plotted over the first plot. I'm somewhat new to
> Mathematica but have tried several things, the "Scale"
> function looked like
> it might do the job but I had no luck, Offset also looked as if it had
> potential but it too gave me problems. Any suggestions would
> be great.
> Thanks in advance.
>
> Tom Morris
>
>
>