1*29811Ssklower /* 2*29811Ssklower * Copyright (c) 1980, 1986 Regents of the University of California. 3*29811Ssklower * All rights reserved. The Berkeley software License Agreement 4*29811Ssklower * specifies the terms and conditions for redistribution. 5*29811Ssklower */ 6*29811Ssklower 7*29811Ssklower #ifndef lint 8*29811Ssklower static char sccsid[] = "@(#)label.c 6.1 (Berkeley) 08/29/86"; 9*29811Ssklower #endif not lint 10*29811Ssklower 11*29811Ssklower 12*29811Ssklower #include "grnplot.h" 13*29811Ssklower 14*29811Ssklower /*--------------------------------------------------------- 15*29811Ssklower * This routine places a label starting at the current 16*29811Ssklower * position. 17*29811Ssklower * 18*29811Ssklower * Results: None. 19*29811Ssklower * 20*29811Ssklower * Side Effects: 21*29811Ssklower * The string indicated by s starting at (curx, cury). 22*29811Ssklower * The current position is NOT updated. 23*29811Ssklower *--------------------------------------------------------- 24*29811Ssklower */ 25*29811Ssklower label(s) 26*29811Ssklower char *s; 27*29811Ssklower { 28*29811Ssklower if (!ingrnfile) erase(); 29*29811Ssklower endvector(); 30*29811Ssklower printf("BOTLEFT\n"); 31*29811Ssklower outcurxy(); 32*29811Ssklower printf("*\n%d %d\n%d %s\n",FONTSTYLE,FONTSIZE,strlen(s)-1,s); 33*29811Ssklower } 34