Edits for plot acc (#1420)

This commit is contained in:
Galen Nickel 2018-10-15 07:05:15 -07:00 committed by Peli de Halleux
parent de0ea68469
commit 8f04ed4191

View File

@ -1,11 +1,10 @@
# Plot Acceleration
The ``||led:plot bar graph||`` uses the screen to display magnitude of a value (positive or negative).
This is a great tool to understand the data returned by sensors... like the accelerometer.
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.
## 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
basic.forever(() => {
@ -18,7 +17,7 @@ basic.forever(() => {
## 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
@ -36,7 +35,7 @@ basic.forever(() => {
## 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
basic.forever(() => {