|
Biomech-Sim-Toolbox 1
Toolbox for movement simulation and analysis
|
Function to plot a shaded area to indicate the stance phase. More...
Functions | |
| function | plotStancePhase (in t, in standing, in minY, in maxY, in minX, in maxX, in colorSpec, in faceAlpha) |
| Function to plot a shaded area to indicate the stance phase. | |
Function to plot a shaded area to indicate the stance phase.
Details: plotStancePhase()
| function plotStancePhase | ( | in | t, |
| in | standing, | ||
| in | minY, | ||
| in | maxY, | ||
| in | minX, | ||
| in | maxX, | ||
| in | colorSpec, | ||
| in | faceAlpha | ||
| ) |
Function to plot a shaded area to indicate the stance phase.
Figure has to be opened. 'hold on' has to be active.
It is using 0.1 for FaceAlpha to plot the area.
| t | Double array: time axis corresponding to the boolean standing array |
| standing | Double array: 0: no standing; 1: standing (length of t) |
| minY | Double: min Y value of the area |
| maxY | Double: max Y value of the area |
| minX | Double: min X value to paint (first sample of time signal) |
| maxX | Double: max X value to paint (last sample of time signal) |
| colorSpec | (optional) Double array or String: Color of the area. Can be empty to be skipped. (default: 'k') |
| faceAlpha | (optional) Double: Value for 'FaceAlpha'. (default: 0.1) |
| hStanding | Handle of the last plotted area |