home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man6 / plot.6 < prev    next >
Encoding:
Text File  |  1975-06-26  |  2.5 KB  |  99 lines

  1. .th PLOT VI 3/10/75
  2. .sh NAME
  3. plot: tek, gsip, vt0 \*- graphics filters
  4. .sh SYNOPSIS
  5. source |
  6. .bd tek
  7. .br
  8. source |
  9. .bd gsip
  10. .br
  11. source |
  12. .bd vt0
  13. .sh DESCRIPTION
  14. These commands produce graphical output on the Tektronix 4014 terminal,
  15. the GSI or other Diablo-mechanism terminals,
  16. and the on-line storage scope respectively.
  17. They read the standard input to obtain
  18. plotting instructions,
  19. which are usually generated by a program
  20. calling the graphics subroutines
  21. described in
  22. .it plot
  23. (VII).
  24. Each instruction consists of an ASCII letter
  25. usually followed by binary information.
  26. A plotting coordinate is transmitted
  27. as four bytes representing
  28. the
  29. .it x
  30. and
  31. .it y
  32. values;
  33. each value
  34. is a signed number transmitted low-order byte first.
  35. The assumed plotting space is set by request.
  36. The instructions are taken from
  37. .s3
  38. .lp +3 3
  39. m    move: the next four bytes specify the coordinates of a point
  40. to move to.
  41. This is used before writing a label.
  42. .s3
  43. .lp +3 3
  44. p    point: the next four bytes specify the coordinates at which a point is drawn.
  45. .s3
  46. .lp +3 3
  47. l    line: the next eight bytes are taken as two pairs of coordinates
  48. specifying the endpoints of a line to be drawn.
  49. .s3
  50. .lp +3 3
  51. t    label: the bytes up to a new-line are written as ASCII
  52. starting at the last point drawn or moved to.
  53. .s3
  54. .lp +3 3
  55. a    arc:
  56. the first four bytes specify the center, the next four specify the
  57. starting point,
  58. and the last four specify the end point of a circular arc.
  59. The least significant coordinate of the end point is
  60. used only to determine the quadrant.
  61. The arc is drawn counter-clockwise.
  62. This command is not necessarily implemented on all
  63. (or even any)
  64. of the output devices.
  65. .s3
  66. .lp +3 3
  67. c    circle:
  68. The first four bytes specify the center of the circle,
  69. the next two the radius.
  70. .s3
  71. .lp +3 3
  72. e    erases the screen
  73. .s3
  74. .lp +3 3
  75. f    linemod: takes the following string as the type for all
  76. future lines.
  77. The types are
  78. `dotted,'
  79. `solid,' `longdashed,' `shortdashed,' and `dotdashed.'
  80. This instruction is effective only with the Tektronix
  81. terminal.
  82. .s3
  83. .lp +3 3
  84. d    dotline: takes the first four bytes as the coordinates
  85. of the beginning of a dotted line.
  86. The next two are a signed x-increment, and the next two
  87. are a word count.
  88. Following are the indicated number of byte-pairs
  89. representing words.
  90. For each bit in this list of words a point is plotted
  91. which is visible if the bit is `1,' invisible if not.
  92. Each point is offset rightward by the x-increment.
  93. The instruction is effective only on the vt0 scope.
  94. .s3
  95. .i0
  96. .sh "SEE ALSO"
  97. plot (VII), graph (VI)
  98. .sh BUGS
  99.