Skip to content

Commit 80f78e1

Browse files
committed
added review14 to chapter13
1 parent 4de90eb commit 80f78e1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Chapter13/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ How would you scale the input without trial and error?
107107

108108
## [Review 13](review/13.txt)
109109
Why would you format your input rather than just having the file contain "the numbers"?
110+
111+
## [Review 14](review/14.txt)
112+
How do you plan the general layout of a graph? How do you reflect that layout in your code?

Chapter13/review/14.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
We plan the general layout of our graphs by first asking ourselves
2+
what would we want to see in our window.
3+
We need to consider the position and the size of our rectangle space
4+
that will hold the graph and its values.
5+
We also need to consider whether there would be any captions, and where to put them.
6+
Also the colors of the lines, whether there will even be lines, or simply just marks.
7+
8+
We can easily reflect these ideas in code:
9+
we can put the offsets and spacings and coordinates in symbolic constants,
10+
and we can represent captions as Text objects.
11+
We can even assign colors and line styles for our polylines or marks,
12+
that would represent our data.

0 commit comments

Comments
 (0)