PlotProbits
To plot defined probits.
- Plot.Plotly.PlotProbits(StdNumber=3, NPoints=100, ProbitTag=None, PlotMode=1, width=None, height=None)
Argument
Type
Description
StdNumber
int
The number of the standard deviation that will be consider for each fragility to plot in this range
NPoints
int
The number of the points that will be consider for each fragility
ProbitTag
int
the tag of a special defined probit to plot and in nothing enter all probits will be plotted.
PlotMode
int
Options with values equal to 1,2 or 3 to change the plot mode. For various Editors with one on these option plot will be activate!
width
int
Determines the width of plot
height
int
Determines the height of plot
Example:
In the following example three Fragilities are defined and also plotted with various NPoints and StdNumber.
Python Code
opr.wipe() opr.Fragilities.Probit(tag=1,Distribution_Type='normal',K1=5,K2=2) opr.Fragilities.Probit(2,'normal',3,2) opr.Fragilities.Probit(3,'lognormal',4,3) #Plot command opr.Plot.Plotly.PlotProbits(StdNumber=3, NPoints=100, ProbitTag=None, PlotMode=1)The above command causes to plot probits all together as shown in the following.
But the following command will cause to plot only Probit with tags 1 and only with 10 numbers along its curves.
Python Code
#Plot command opr.Plot.Plotly.PlotProbits(StdNumber=3, NPoints=10, ProbitTag=1, PlotMode=1)
Code Developed by: Bijan Sayyafzadeh