Edits for plot acc (#1420)
This commit is contained in:
parent
de0ea68469
commit
8f04ed4191
@ -1,11 +1,10 @@
|
|||||||
# Plot Acceleration
|
# Plot Acceleration
|
||||||
|
|
||||||
The ``||led:plot bar graph||`` uses the screen to display magnitude of a value (positive or negative).
|
The ``||led:plot bar graph||`` uses the screen to display the _magnitude_ (how big a number is whether it's positive or negative) of a value. This is a great tool to understand the data returned by sensors... like the accelerometer.
|
||||||
This is a great tool to understand the data returned by sensors... like the accelerometer.
|
|
||||||
|
|
||||||
## Acceleration
|
## Acceleration
|
||||||
|
|
||||||
This example plots the acceleration in the ``x`` dimension on the LEDs.
|
This example plots acceleration in the ``x`` dimension on the LEDs.
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
basic.forever(() => {
|
basic.forever(() => {
|
||||||
@ -18,7 +17,7 @@ basic.forever(() => {
|
|||||||
|
|
||||||
## Console
|
## Console
|
||||||
|
|
||||||
Click on the ``||Show Console||`` button to see a time chart of the value passed in the block.
|
Click on the ``||Show Console||`` button to see a chart of the values plotted by the block over a period of time.
|
||||||
|
|
||||||
## Maximum value
|
## Maximum value
|
||||||
|
|
||||||
@ -36,7 +35,7 @@ basic.forever(() => {
|
|||||||
|
|
||||||
## Other sensors
|
## Other sensors
|
||||||
|
|
||||||
You can use this block for pretty much any data. Try it out! We pass the light level to play with the light sensor.
|
You can use this block for pretty much any kind of data. Try it out! Plot the light level as you play with the light sensor.
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
basic.forever(() => {
|
basic.forever(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user