visual3d:documentation:reports:2d_horizontal_bar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:reports:2d_horizontal_bar [2024/06/17 18:23] – created sgranger | visual3d:documentation:reports:2d_horizontal_bar [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 2D Horizontal Bar ====== | ||
- | + | ===== Draw horizontal bars on a Report Graph ===== | |
- | ====== Draw horizontal bars on a Report Graph ====== | + | |
**This is especially useful for creating ON/OFF bars for EMG data**. An example of creating a simple horizontal line is provided after this example. | **This is especially useful for creating ON/OFF bars for EMG data**. An example of creating a simple horizontal line is provided after this example. | ||
- | |This example creates a line that is ON/OFF to express when an EMG signal is expected to be ON/OFF through the gait cycle (red line in picture on right): | + | |This example creates a line that is ON/OFF to express when an EMG signal is expected to be ON/OFF through the gait cycle (red line in picture on right): |
As a simple example, create a P2D signal representing the frames and ON/OFF values | As a simple example, create a P2D signal representing the frames and ON/OFF values | ||
Line 30: | Line 30: | ||
The resulting signal is: | The resulting signal is: | ||
- | [[BarGraph1.jpg]] | + | {{:BarGraph1.jpg}} |
Create a Report 2D Graph: | Create a Report 2D Graph: | ||
- | [[BarGraph2.jpg]] | + | {{:BarGraph2.jpg}} |
- | ====== Simple Horizontal Line ====== | + | ===== Simple Horizontal Line ===== |
- | |This example is to create a simple horizontal line straight across using P2D signals (purple line in graph on right): | + | |This example is to create a simple horizontal line straight across using P2D signals (purple line in graph on right): |
Create the horizontal line as a P2D signal: | Create the horizontal line as a P2D signal: | ||
Line 58: | Line 58: | ||
</ | </ | ||
- | |Plot the P2D Signal: | + | |Plot the P2D Signal: |
- | + | ||
visual3d/documentation/reports/2d_horizontal_bar.1718648603.txt.gz · Last modified: 2024/06/17 18:23 by sgranger