xref: /csrg-svn/lib/libplot/aed/point.c (revision 15524)
1*15524Sralph #ifndef lint
2*15524Sralph static char sccsid[] = "@(#)point.c	4.1 (Berkeley) 11/11/83";
3*15524Sralph #endif
4*15524Sralph 
5*15524Sralph #include "aed.h"
6*15524Sralph 
7*15524Sralph /*---------------------------------------------------------
8*15524Sralph  *	This routine plots a single point.
9*15524Sralph  *
10*15524Sralph  *	Results:	None.
11*15524Sralph  *
12*15524Sralph  *	Side Effects:
13*15524Sralph  *	A single point is displayed on the screen.
14*15524Sralph  *	The point is made the current point.
15*15524Sralph  *---------------------------------------------------------
16*15524Sralph  */
17*15524Sralph point(x, y)
18*15524Sralph int x, y;
19*15524Sralph {
20*15524Sralph     setcolor("01");
21*15524Sralph     putc('Q', stdout);
22*15524Sralph     outxy20(x, y);
23*15524Sralph     fputs("O01", stdout);
24*15524Sralph     (void) fflush(stdout);
25*15524Sralph     curx = x;
26*15524Sralph     cury = y;
27*15524Sralph }
28