xref: /plan9/sys/src/cmd/plot/libplot/openpl.c (revision 3e12c5d1bb89fc02707907988834ef147769ddaf)
1 #include "mplot.h"
openpl(char * s)2 void openpl(char *s){
3 	m_initialize(s);
4 	e0->left=mapminx;
5 	e0->bottom=mapmaxy;
6 	e0->sidex=mapmaxx-mapminx;
7 	e0->sidey=mapminy-mapmaxy;
8 	e0->scalex=e0->sidex;
9 	e0->scaley=e0->sidey;
10 	sscpy(e0, e1);
11 	move(0., 0.);
12 }
13