Skip to content

Commit 5f50b14

Browse files
committed
added review11 to chapter13
1 parent 75ef262 commit 5f50b14

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Chapter13/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ What do we mean when we say that a series approximates a function?
9898

9999
## [Review 10](review/10.txt)
100100
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?

Chapter13/review/11.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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.

0 commit comments

Comments
 (0)