1 /* 2 * Copyright (c) 1980, 1986 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 */ 6 7 #ifndef lint 8 static char sccsid[] = "@(#)open.c 6.1 (Berkeley) 08/29/86"; 9 #endif not lint 10 11 12 /* 13 * converts plot to grn 14 */ 15 16 #include "grnplot.h" 17 18 int curx, cury; /* Current world position */ 19 int xbot=0, ybot=0; /* Coordinates of screen lower-left corner */ 20 double scale=1; /* The number of pixels per 2**12 units 21 * of world coordinates. 22 */ 23 int linestyle = 5; 24 int ingrnfile = 0; 25 int invector = 0; 26 27 28 /*--------------------------------------------------------- 29 * Openpl initializes the graphics display and clears its screen. 30 * 31 * Results: None. 32 * 33 * Side Effects: 34 * 35 * Errors: None. 36 *--------------------------------------------------------- 37 */ 38 openpl() 39 {} 40