I
113
600
610 ) Subroutine to plot a sine wave
620 )
630 x1=0 : Yl=lo : x2=20 : Y2=10
640 GOSUB 250
650 x1=10 : Y~=O : x2=10 : Y2=20
650 GOSUB 250
670 X1=0 : Yl=lO
680 FOR X2=0 TO 20 STEP .2
6go Y2=lO-g"SIN(3.ltil59~X2/10)
700 GOSUB 250
710 NEXT X2
720 RETURN
HIGH RESOLUTION GRAPHICS
Up until now all of the dot graphics printing we have done has
been with your printer’s normal density mode. This can give
you some pretty sharp images at great speed. Sometimes
though, you may want to create an image with even higher
resolution. This printer has seven graphics modes you can use;
they’re summarized in Table 7-2.