generated from mwc/lab_scatter
wrote the break down of how to create a scatter plot
I could probably draw the x and y axis right now but i think plotting the data would be a little more difficult
This commit is contained in:
@@ -4,9 +4,15 @@
|
|||||||
- Draw the axes.
|
- Draw the axes.
|
||||||
- Draw the x-axis.
|
- Draw the x-axis.
|
||||||
- Draw the line.
|
- Draw the line.
|
||||||
- ...
|
- Label the x-axis
|
||||||
|
- Draw ticks at the minimum and maximum values, and evenly-spaced ticks in between
|
||||||
|
- Scale the ticks based on the bouns of the data
|
||||||
- Draw the y-axis.
|
- Draw the y-axis.
|
||||||
- Draw the line.
|
- Draw the line.
|
||||||
- ...
|
- Label the y-axis
|
||||||
|
- Draw ticks at the minimum and maximum values, and evenly-spaced ticks in between
|
||||||
|
- Scale the ticks based on the bouns of the data
|
||||||
- Plot the points.
|
- Plot the points.
|
||||||
- ...
|
- Each data point is drawn on the scatter plot as a dot.
|
||||||
|
- The size and color of dots can be adjusted using optional arguments.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user