xref: /csrg-svn/lib/libplot/aed/point.c (revision 48502)
1*48502Sbostic /*-
2*48502Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48502Sbostic  * All rights reserved.
4*48502Sbostic  *
5*48502Sbostic  * %sccs.include.proprietary.c%
6*48502Sbostic  */
7*48502Sbostic 
815524Sralph #ifndef lint
9*48502Sbostic static char sccsid[] = "@(#)point.c	5.2 (Berkeley) 04/22/91";
10*48502Sbostic #endif /* not lint */
1115524Sralph 
1215524Sralph #include "aed.h"
1315524Sralph 
1415524Sralph /*---------------------------------------------------------
1515524Sralph  *	This routine plots a single point.
1615524Sralph  *
1715524Sralph  *	Results:	None.
1815524Sralph  *
1915524Sralph  *	Side Effects:
2015524Sralph  *	A single point is displayed on the screen.
2115524Sralph  *	The point is made the current point.
2215524Sralph  *---------------------------------------------------------
2315524Sralph  */
2415524Sralph point(x, y)
2515524Sralph int x, y;
2615524Sralph {
2715524Sralph     setcolor("01");
2815524Sralph     putc('Q', stdout);
2915524Sralph     outxy20(x, y);
3015524Sralph     fputs("O01", stdout);
3115524Sralph     (void) fflush(stdout);
3215524Sralph     curx = x;
3315524Sralph     cury = y;
3415524Sralph }
35