xref: /csrg-svn/lib/libplot/hp2648/move.c (revision 15455)
1 #ifndef lint
2 static char sccsid[] = "@(#)move.c	4.1 (Berkeley) 11/10/83";
3 #endif
4 
5 #include "hp2648.h"
6 
7 move(xi,yi)
8 int xi,yi;
9 {
10 	char xb1,xb2,yb1,yb2;
11 	itoa(xsc(xi),&xb1,&xb2);
12 	itoa(ysc(yi),&yb1,&yb2);
13 	buffready(5);
14 	putchar(PENUP);
15 	putchar(xb2);
16 	putchar(xb1);
17 	putchar(yb2);
18 	putchar(yb1);
19 	currentx = xsc(xi);
20 	currenty = ysc(yi);
21 }
22