148511Sbostic /*- 2*61389Sbostic * Copyright (c) 1980, 1986, 1993 3*61389Sbostic * The Regents of the University of California. All rights reserved. 448511Sbostic * 548511Sbostic * %sccs.include.proprietary.c% 629811Ssklower */ 729811Ssklower 829811Ssklower #ifndef lint 9*61389Sbostic static char sccsid[] = "@(#)label.c 8.1 (Berkeley) 06/04/93"; 1048511Sbostic #endif /* not lint */ 1129811Ssklower 1229811Ssklower #include "grnplot.h" 1329811Ssklower 1429811Ssklower /*--------------------------------------------------------- 1529811Ssklower * This routine places a label starting at the current 1629811Ssklower * position. 1729811Ssklower * 1829811Ssklower * Results: None. 1929811Ssklower * 2029811Ssklower * Side Effects: 2129811Ssklower * The string indicated by s starting at (curx, cury). 2229811Ssklower * The current position is NOT updated. 2329811Ssklower *--------------------------------------------------------- 2429811Ssklower */ label(s)2529811Ssklowerlabel(s) 2629811Ssklower char *s; 2729811Ssklower { 2829811Ssklower if (!ingrnfile) erase(); 2929811Ssklower endvector(); 3029811Ssklower printf("BOTLEFT\n"); 3129811Ssklower outcurxy(); 3229811Ssklower printf("*\n%d %d\n%d %s\n",FONTSTYLE,FONTSIZE,strlen(s)-1,s); 3329811Ssklower } 34