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.arrow(0, 0, 9, 4); plot.text("U", PLOT_TEXT_LEFT, 4, 0); plot.strokeColor("green"); plot.arrow(9, 4, 11, 12); plot.text("W", PLOT_TEXT_LEFT, 10.5, 7); plot.line(9, 4, 13, 20); plot.strokeColor("blue"); plot.arrow(0, 0, 13, 20); plot.text("U+W", PLOT_TEXT_LEFT, 1, 9); plot.axisRange(PLOT_AXIS_XY, -12, 24); plot.ticsRange(PLOT_AXIS_XY, 6); plot.sizeRatio(1); plot.plotting();
/* Code generated by RoboBlockly v2.0 */ #include <chplot.h> CPlot plot; plot.arrow(0, 0, 9, 4); plot.strokeColor("green"); plot.arrow(0, 0, 2, 8); plot.line(2, 8, 4, 16); plot.strokeColor("#ffcccc"); plot.line(4, 16, 13, 20); plot.strokeColor("#99ff99"); plot.line(9, 4, 13, 20); plot.strokeWidth(2); plot.strokeColor("blue"); plot.arrow(0, 0, 13, 20); plot.axisRange(PLOT_AXIS_XY, -12, 24); plot.ticsRange(PLOT_AXIS_XY, 6); plot.sizeRatio(1); plot.plotting();
Problem Statement: Use the arrow tools to add a vector W = <2,8> on the grid. Then add another vector represents the sum of U and 2*W |
|||||||||||