WeibullDataSet.AddFreeForm: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) (Created page with '{{Template:APIClass|WeibullDataSet Class|WeibullDataSet}} == Declaration == {{APIPrefix|Sub}} {{APIName|AddSuspensionInterval(}} {{APIPrefix|ByVal}} {{APIName|Time}} {{APIPrefix…') |
Kate Racaza (talk | contribs) mNo edit summary |
||
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Template: | {{Template:API}}{{Template:APIBreadcrumb|.[[WeibullDataSet Class|WeibullDataSet]]}} | ||
{{ | |||
{{APIComment| | <onlyinclude>Adds a free-form data point to the data set.</onlyinclude> | ||
== Syntax == | |||
'''.AddFreeForm'''(''Time'', ''Percent'') | |||
===Parameters=== | |||
''Time'' | |||
:Required. Double. The X-axis value (independent variable). | |||
''Percent'' | |||
:Required. Double. The cumulative percentage of failures for the Y-axis value (e.g., 90 = 90%). | |||
== Example == | |||
'''VBA''' | |||
{{APIComment|'Declare a new WeibullDataSet object.}} | |||
{{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet | |||
{{APIComment|'Add free-form data to the data set.}} | |||
{{APIPrefix|Call}} WDS.AddFreeForm(100, 10) | |||
{{APIPrefix|Call}} WDS.AddFreeForm(200, 20) | |||
{{APIPrefix|Call}} WDS.AddFreeForm(300, 30) | |||
'''VB.NET''' | |||
{{APIComment|'Declare a new WeibullDataSet object.}} | |||
{{APIPrefix|Dim}} WDS {{APIPrefix|As New}} WeibullDataSet | |||
{{APIComment|'Add free-form data to the data set.}} | |||
WDS.AddFreeForm(100, 10) | |||
WDS.AddFreeForm(200, 20) | |||
WDS.AddFreeForm(300, 30) |
Latest revision as of 19:06, 24 June 2016
Member of: SynthesisAPI.WeibullDataSet
Adds a free-form data point to the data set.
Syntax
.AddFreeForm(Time, Percent)
Parameters
Time
- Required. Double. The X-axis value (independent variable).
Percent
- Required. Double. The cumulative percentage of failures for the Y-axis value (e.g., 90 = 90%).
Example
VBA 'Declare a new WeibullDataSet object. Dim WDS As New WeibullDataSet 'Add free-form data to the data set. Call WDS.AddFreeForm(100, 10) Call WDS.AddFreeForm(200, 20) Call WDS.AddFreeForm(300, 30)
VB.NET 'Declare a new WeibullDataSet object. Dim WDS As New WeibullDataSet 'Add free-form data to the data set. WDS.AddFreeForm(100, 10) WDS.AddFreeForm(200, 20) WDS.AddFreeForm(300, 30)