I need to draw an empty graph using loops. How do I do that?
The requirements are
- The number of partition for each axis is 10
- X-axis level goes from 0 to 1000 divided into specified partitions
- Y-axis level goes from 0 to 200 divided into specified partitions
- There is a marking (separation lines needs to be red, 6 pixels in length) and label (value at each partition)
- The distance between the left wall and the intersection of x and y-axis should be equal to the distance between each partition on both axes, say partitionLength. Distance between the floor and the intersection of x and y axis should be partition length. Distance between right wall and the end point of x axis should be partitionLength. Distance between the top ceiling and the end point of y axis should be partitionLength.
1