Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8903

Re: Plotting a simple line at a weibull

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Plotting a simple line at a weibull
Date 2012-03-07 10:36 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jj7dnn$2ca$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 3/6/12 at 5:57 AM, tgarza10@msn.com (Tomas Garza) wrote:

>The best I could think of is, by trial and error, to find the right
>position for the horizontal line you want. The idea is to put an
>Epilog in the ProbabilityScalePlot with the appropriate coordinates
>for the end points, for example: ProbabilityScalePlot[{data1, data2,
>data3}, "Weibull",  PlotRange -> Automatic, GridLines -> Automatic,
>GridLinesStyle -> "Classic",  FrameLabel ->
>{{Style["Ausfallwahrscheinlichkeit F(t) in %", Italic,    FontSize
>-> 12],     ""}, {Style["Lebensdauer", Italic, FontSize -> 12],
>""}},  Epilog -> {Thickness[0.005], Line[{{-3.25, 0.025}, {3.6,
>0.025}}]},  Frame -> True] Or maybe you can translate from the scale
>in the graph to the necessary coordinates for Line. Anyway, it looks
>more or less right. -Tomas

No need to use trial and error. What you have to keep in mind is
the x-coordinate for the line will be Log[t] where t is the
value seen on the x-axis. And the y-coordinate will be
Log[-Log[1-CDF]] where CDF is the value of the cumulative
distribution function. This has a particularly simple expression
for the 63rd percentile of a Wiebull. At a characteristic
lifetime the CDF will be 1-1/e. So, the y coordinate becomes
exactly 0 in the transformed coordinate space.

And since the desire is to have the line extend the full width
of the plot picking the starting x coordinate to be Log[t] for
any t smaller than the lowest value seen and the stop coordinate
to be any t greater than the maximum value seen ensures the line
extends the full width of the plot. There is no penalty for
making the x-coordinates smaller/larger than shown since the
PlotRange specification will prevent the line from extending too far.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Plotting a simple line at a weibull Bill Rowe <readnews@sbcglobal.net> - 2012-03-07 10:36 +0000

csiph-web