home *** CD-ROM | disk | FTP | other *** search
QuickBASIC Tokenized Source | 1989-12-04 | 1.1 KB | 16 lines |
- Style
- Cycles
- View port sized to proper scale for graph:
- Make window large enough to graph sine wave from
- 0 radians to 2
- radians:
- Use to make dashed line.h
- Scroll printed output in
- rows 23 and 24.
- Number of cycles (0 to end): "
- Draw the x (horizontal) axis.
- Start at (0,0) and plot the graph:
- Calculate the y coordinate.
- Draw a line from the last
- point to the new point.
-