File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -107,3 +107,6 @@ How would you scale the input without trial and error?
107107
108108## [ Review 13] ( review/13.txt )
109109Why 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?
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments