classes begin end list right color left origin
RangeVarPlot("rangevar")
RangeVarPlot("expression involving $1")
g.addobject(rvp)
By default, the location of the path nearest the root is location 0
(the origin) of the space plot.
If the rangevar does not exist at certain places in the path it is assumed to have a value of 0.
The first form where rangevar is "v" or "m_hh", etc. is very efficient since the object can store pointers to the variables for fast plotting.
The second form is much slower since the expression
must be executed by the interpreter for each point along the path
for each plot. Execution of the expression is equivalent to
forsec seclist
for (x) f(x)
where the expression is the body of f. (Hence the use of $1 to
denote the arc length position of the (temporary
currently accessed section.)
objectvar imp, rvp, g imp = new Impedance() rvp = new RangeVarPlot("imp.amp($1)/imp0()") rvp... //specify range begin and end imp... //specify impedance computation g = new Graph() g.addobject(rvp)
RangeVarPlot
.begin(x)
RangeVarPlot
.end(x)
RangeVarPlot
.origin(x)
RangeVarPlot
.left()
RangeVarPlot
.right()
RangeVarPlot
.list(sectionlist)
RangeVarPlot
.color(index)