Absolute newbie question:
works about as expected, except that
- (a) I would like the tick marks to be at integers only,
- (b) I would like to control the ordinates so that the
yscale is the same as for
x goes in steps of .5 with labels at -4,-2, 2 and 4; y goes in steps of 1 with labels at -10, -5, and 5.
- (c) I would like more of the tick marks to be labelled.
The result should look like something from an elementary algebra student handout. Hopefully, the grid and labels will stay the same even if the intercept and slope change.
Apologies for not inserting a picture in the question. It seems to involve more than snip, copy and paste.
Suggestions for improving my code will be appreciated.