1*48519Sbostic /*- 2*48519Sbostic * Copyright (c) 1985 The Regents of the University of California. 3*48519Sbostic * All rights reserved. 4*48519Sbostic * 5*48519Sbostic * %sccs.include.proprietary.c% 625001Ssam */ 725001Ssam 825001Ssam #ifndef lint 9*48519Sbostic static char sccsid[] = "@(#)space.c 5.3 (Berkeley) 04/22/91"; 10*48519Sbostic #endif /* not lint */ 1125001Ssam 1225001Ssam extern float botx; 1325001Ssam extern float boty; 1425001Ssam extern float obotx; 1525001Ssam extern float oboty; 1625001Ssam extern float scalex; 1725001Ssam extern float scaley; 1825012Ssam 1925012Ssam int PlotRes = DEFRES; 2025012Ssam 2125001Ssam int scaleflag; 2225001Ssam space(x0,y0,x1,y1){ 2325012Ssam botx = 2.; 2425012Ssam boty = 2.; 2525001Ssam obotx = x0; 2625001Ssam oboty = y0; 2725001Ssam if(scaleflag) 2825001Ssam return; 2925012Ssam scalex = (8.0 * PlotRes)/(x1-x0); 3025012Ssam scaley = (8.0 * PlotRes)/(y1-y0); 3125001Ssam } 32