File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -98,3 +98,6 @@ What do we mean when we say that a series approximates a function?
98
98
99
99
## [ Review 10] ( review/10.txt )
100
100
Why would you sketch out the layout of a graph before writing the code to draw it?
101
+
102
+ ## [ Review 11] ( review/11.txt )
103
+ How would you scale your graph so that the input will fit?
Original file line number Diff line number Diff line change
1
+ For two-dimensional graphs, we need to scale the x and y axes to make our inputs fit.
2
+ We can get a scaling factor by dividing the size of the given axis
3
+ with the range of the corresponding dataset.
4
+ Then we can align the input data to a coordinate by subtracting the minimal value from it,
5
+ multiplying that with the scale, and adding it to the given axis' starting coordinate.
You can’t perform that action at this time.
0 commit comments