xref: /csrg-svn/lib/libplot/gigi/label.c (revision 48508)
1*48508Sbostic /*-
2*48508Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48508Sbostic  * All rights reserved.
4*48508Sbostic  *
5*48508Sbostic  * %sccs.include.proprietary.c%
619974Sdist  */
719974Sdist 
815490Sralph #ifndef lint
9*48508Sbostic static char sccsid[] = "@(#)label.c	5.2 (Berkeley) 04/22/91";
10*48508Sbostic #endif /* not lint */
1115490Sralph 
1215490Sralph #include "gigi.h"
1315490Sralph 
1415490Sralph label(s)
1515490Sralph char *s;
1615490Sralph {
1715490Sralph 	printf("T(S0 H2 D0 I0) \"");
1815490Sralph 	for(;*s!='\0';s++) {
1915490Sralph 		putchar(*s);
2015490Sralph 		if (*s == '"') putchar('"');
2115490Sralph 	}
2215490Sralph 	putchar('"');
2315490Sralph }
24