Annotation of researchv10no/cmd/map/plot.h, revision 1.1

1.1     ! root        1: /* Plotting functions for Sys V and BSD systems */
        !             2: 
        !             3: /* open the plotting output */
        !             4: extern void openpl(void);
        !             5: 
        !             6: /* close the plotting output */
        !             7: extern void closepl(void);
        !             8: 
        !             9: /* make sure the page or screen is clear */
        !            10: extern void erase(void);
        !            11: 
        !            12: /* plot a point at _x,_y, which becomes current */
        !            13: extern void point(int, int);   /* point(_x,_y) */
        !            14: 
        !            15: /* coordinates to be assigned to lower left and upper right
        !            16:    corners of (square) plotting area */
        !            17: extern void space(int, int, int, int);
        !            18: #define range(_x,_y,_X,_Y)  space(_x,_y,_X,_Y)
        !            19: 
        !            20: /* place text, first letter at current point, which does not change */
        !            21: extern void label(char*);
        !            22: #define text(_s) label(_s);
        !            23: 
        !            24: /* draw line from current point to _x,_y, which becomes current */
        !            25: extern void cont(int, int);
        !            26: #define vec(_x,_y)  cont(_x,_y)
        !            27: 
        !            28: /* _x,_y becomes current point */
        !            29: extern void move(int, int);    /* move(_x,_y) */
        !            30: 
        !            31: /* specify style for drawing lines: "dotted", "solid", "dotdash" */
        !            32: extern void linemod(char*);
        !            33: #define pen(_s)  linemod(_s)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.