Description Usage Arguments Details Value Author(s) See Also
This function iterates through an array of tokens, displaying each one in turn. The automatically detected max and min velocity points are displayed and the user is given the opportunity to change them.
1 | findMaxMin(xdata, ydata, doplot = TRUE)
|
xdata |
The X position data (emu object) |
ydata |
The Y position data (emu object) |
doplot |
Should the plots be displayed |
When the doPlot
option is TRUE the plot is displayed and the user
is given the opportunity to correct the automatic detection.
The procedure is as follows:
The user is prompted with the following message:
"Press m to modify, enter to continue"
If "m" is pressed then identify
is used to extract positions.
The user should first click on the position of the maximum and then on
the position of the minimum.
The colour/symbols used are as follows:
Blue X's mark the token start.
Red o's mark the predicted position of the velocity maximum.
Red triangles the predicted position of the velocity minimum.
A list with 2 components
max |
An array containing time, index, velocity and x and y positions of the maxima |
min |
An array containing time, index, velocity and x and y positions of the minima |
Richard Beare
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.