Grid: | ||
Tics Lines: |
|
Width
px
|
Hash Lines: |
|
Width
px
|
Labels: |
|
Font
px
|
Trace Lines: | ||
Robot 1: |
|
Width
px
|
Robot 2: |
|
Width
px
|
Robot 3: |
|
Width
px
|
Robot 4: |
|
Width
px
|
Axes: | x-axis | y-axis | Show Grid |
Grid: | 24x24 inches | 36x36 inches | 72x72 inches |
96x96 inches | 192x192 inches | ||
Quad: | 4 quadrants | 1 quadrant | Hardware |
Units: | US Customary | Metric |
Background: |
![]() |
|
|
|
|
|
|
|
|
|
/* Code generated by RoboBlockly v2.0 */ #include <chplot.h> CPlot plot; plot.label(PLOT_AXIS_X, "age"); plot.label(PLOT_AXIS_Y, "hours"); plot.point(1, 18); plot.point(3, 12); plot.point(9, 9); plot.point(13, 8); plot.point(18, 6); plot.axisRange(PLOT_AXIS_XY, -12, 24); plot.ticsRange(PLOT_AXIS_XY, 6); plot.sizeRatio(1); plot.plotting();
Problem Statement: The first data point is already graphed. A three-year-old gets 12 hours of sleep, a nine-year-old gets 9 hours of sleep, a thirteen-year-old gets 8 hours of sleep, and an eighteen-year-old gets 6 hours of sleep. Graph the data points for hours of sleep versus age. |
|||||||||||
|
|||||||||||