xref: /csrg-svn/lib/libplot/gigi/label.c (revision 19974)
1*19974Sdist /*
2*19974Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19974Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19974Sdist  * specifies the terms and conditions for redistribution.
5*19974Sdist  */
6*19974Sdist 
715490Sralph #ifndef lint
8*19974Sdist static char sccsid[] = "@(#)label.c	5.1 (Berkeley) 05/07/85";
9*19974Sdist #endif not lint
1015490Sralph 
1115490Sralph #include "gigi.h"
1215490Sralph 
1315490Sralph label(s)
1415490Sralph char *s;
1515490Sralph {
1615490Sralph 	printf("T(S0 H2 D0 I0) \"");
1715490Sralph 	for(;*s!='\0';s++) {
1815490Sralph 		putchar(*s);
1915490Sralph 		if (*s == '"') putchar('"');
2015490Sralph 	}
2115490Sralph 	putchar('"');
2215490Sralph }
23