1 /*- 2 * Copyright (c) 1985 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)space.c 5.3 (Berkeley) 04/22/91"; 10 #endif /* not lint */ 11 12 extern float botx; 13 extern float boty; 14 extern float obotx; 15 extern float oboty; 16 extern float scalex; 17 extern float scaley; 18 19 int PlotRes = DEFRES; 20 21 int scaleflag; 22 space(x0,y0,x1,y1){ 23 botx = 2.; 24 boty = 2.; 25 obotx = x0; 26 oboty = y0; 27 if(scaleflag) 28 return; 29 scalex = (8.0 * PlotRes)/(x1-x0); 30 scaley = (8.0 * PlotRes)/(y1-y0); 31 } 32