|
|
1.1 ! root 1: .\" @(#)plot.5 6.2 (Berkeley) 4/25/87 ! 2: .\" ! 3: .TH PLOT 5 "April 25, 1987" ! 4: .AT 3 ! 5: .SH NAME ! 6: plot \- graphics interface ! 7: .SH DESCRIPTION ! 8: Files of this format are produced by routines ! 9: described in ! 10: .IR plot (3X) ! 11: and ! 12: .IR plot (3F), ! 13: and are interpreted for various devices ! 14: by commands described in ! 15: .IR plot (1G). ! 16: A graphics file is a stream of plotting instructions. ! 17: Each instruction consists of an ASCII letter ! 18: usually followed by bytes of binary information. ! 19: The instructions are executed in order. ! 20: A point is designated by ! 21: four bytes representing ! 22: the ! 23: x and y ! 24: values; ! 25: each value ! 26: is a signed integer. ! 27: The last designated point in an ! 28: .B "l, m, n, a," ! 29: or ! 30: .B p ! 31: instruction becomes the `current point' ! 32: for the next instruction. ! 33: The ! 34: .B a ! 35: and ! 36: .B c ! 37: instructions change the current point in a manner dependent ! 38: upon the specific device. ! 39: .PP ! 40: Each of the following descriptions begins with the name ! 41: of the corresponding routine in ! 42: .IR plot (3X). ! 43: .TP 3 ! 44: .B m ! 45: move: The next four bytes give a new current point. ! 46: .TP 3 ! 47: .B n ! 48: cont: Draw a line from the current point to ! 49: the point given by the next four bytes. ! 50: .TP 3 ! 51: .B p ! 52: point: Plot the point given by the next four bytes. ! 53: .TP 3 ! 54: .B l ! 55: line: Draw a line from the point given by the next ! 56: four bytes to the point given by the following four bytes. ! 57: .TP 3 ! 58: .B t ! 59: label: Place the following ASCII string so that its ! 60: first character falls on the current point. ! 61: The string is terminated by a newline. ! 62: .TP 3 ! 63: .B a ! 64: arc: ! 65: The first four bytes give the center, the next four give the ! 66: starting point, ! 67: and the last four give the end point of a circular arc. ! 68: The least significant coordinate of the end point is ! 69: used only to determine the quadrant. ! 70: The arc is drawn counter-clockwise. ! 71: .TP 3 ! 72: .B c ! 73: circle: ! 74: The first four bytes give the center of the circle, ! 75: the next two the radius. ! 76: .TP 3 ! 77: .B e ! 78: erase: Start another frame of output. ! 79: .TP 3 ! 80: .B f ! 81: linemod: Take the following string, up to a newline, ! 82: as the style for drawing further lines. ! 83: The styles are ! 84: `dotted,' ! 85: `solid,' `longdashed,' `shortdashed,' and `dotdashed.' ! 86: Effective only in ! 87: .I plot 4014 ! 88: and ! 89: .I plot ver. ! 90: .TP 3 ! 91: .B s ! 92: space: The next four bytes give ! 93: the lower left corner of the plotting area; ! 94: the following four give the upper right corner. ! 95: The plot will be magnified or reduced to fit ! 96: the device as closely as possible. ! 97: .IP ! 98: Space settings that exactly fill the plotting area ! 99: with unity scaling appear below for ! 100: devices supported by the filters of ! 101: .IR plot (1G). ! 102: The upper limit is just outside the plotting area. ! 103: In every case the plotting area is taken to be square; ! 104: points outside may be displayable on ! 105: devices whose face isn't square. ! 106: .RS ! 107: .TP 10n ! 108: 4013 ! 109: space(0, 0, 780, 780); ! 110: .br ! 111: .ns ! 112: .TP 10n ! 113: 4014 ! 114: space(0, 0, 3120, 3120); ! 115: .br ! 116: .ns ! 117: .TP ! 118: ver ! 119: space(0, 0, 2048, 2048); ! 120: .br ! 121: .ns ! 122: .TP ! 123: 300, 300s ! 124: space(0, 0, 4096, 4096); ! 125: .br ! 126: .ns ! 127: .TP ! 128: 450 ! 129: space(0, 0, 4096, 4096); ! 130: .RE ! 131: .SH "SEE ALSO" ! 132: plot(1G), plot(3X), plot(3F), graph(1G) ! 133: .SH BUGS ! 134: A \fIlabel\fP instruction immediately followed by a \fIcont\fP ! 135: instruction does the wrong thing on a 4014.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.