AddMathFunc     Procedure (Sub)

Public Sub AddMathFunc(MathFunc As String, Optional Fromx As Double = 0, Optional Tox As Double = 0)

Add a math function to the current data set

ParameterTypeDescription

MathFunc

String

The math function, with x as the independent variable (eg. "sin(x)*exp(-x/10)")

Fromx

Double

Draw the function from this x-value...

Tox

Double

to this x-value. If Fromx=0 and Tox=0 then draw over whole graph range.

Example

Call ecGraph1.AddMathFunc(mathfunc, fromx, tox) 


      Contents     Variables     Events     Properties     Functions     Subs

Copyright © 2007, Encore Consulting Pty Ltd