Graphics
4.A new graphics command is used for each line printed (lines 130 to 160). This part of the program is similar to the last example, but two columns are printed each time through the loop, making a total of 100.
5.Finally, the program resets the printer to its initial settings, including the normal line spacing (line 180). This is an important step that you should include in every program.
Notice that graphics commands can be in effect for only one print line. To print more than one line of graphics, a graphics command must be issued before each line.
Designing your own graphicsThis section takes you through the development of a graphics program. The example here is not especially complicated, but it does include the same steps you would use for a more complex figure.
First you must decide which graphics density you want. The illustration below shows the differences between three common densities so that you can choose the one you want. See page
Single | Double | |
| double |
|