plotting function from imported parameters
remolorio
As a result from some computational work I have a list of parameters:
-----------------------------------
prmA prmB prmC
3 2 1
-----------------------------------
I would now like to import this data, and plot a function using those parameters: f(y) = PrmA + PrmB*y + PrmC*y^2, where y is a normal Wave.
importing and storing this data as waves wouldn't allow me to use the data points as variables for defining this function. How should I go about this?
Thanks
Remo
fplot = wprm[0] + wprm[1]*x + wprm[2]*x^2
See the manual for information about wave scaling to appreciate why this is the case.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
December 2, 2016 at 07:37 am - Permalink