xref: /plan9-contrib/sys/src/cmd/plot/libplot/openpl.c (revision 9b943567965ba040fd275927fbe088656eb8ce4f)
1 #include "mplot.h"
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