View source: R/M001_parametric.R
makeParametric | R Documentation |
Functions to calculate the sequence of points given by functions x(t),y(t) for a vector of parameters t. runParametric calculates the points. makeParametric makes a component that calculates and plots the output. runTSpace creates a set of parameters if one isn't provided.
runParametric( xFun = function(x) { sin(x * 2 * pi) }, yFun = function(x) { sin(x * 4 * pi) }, parameterSpace ) makeTSpace(tmin = 0, tmax = 1, lent = 101) makeParametric(type = "lines", ...)
xFun, yFun |
functions or names of functions. |
parameterSpace |
the set of parameters used. |
tmin, tmax, lent |
used when parameterSpace isn't given. seq(tmin,tmax,lent) is then used as a parameterSpace. |
... |
parameters passed to the component and the component functions runParametric and runTSpace. See "details" for more information. |
easyPlot(makeParametric())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.