shithub: riscv

ref: 1b09060f468f530af2f4ef75441a40084e912e54
dir: /sys/src/cmd/plot/libplot/openpl.c/

View raw version
#include "mplot.h"
void openpl(char *s){
	m_initialize(s);
	e0->left=mapminx;
	e0->bottom=mapmaxy;
	e0->sidex=mapmaxx-mapminx;
	e0->sidey=mapminy-mapmaxy;
	e0->scalex=e0->sidex;
	e0->scaley=e0->sidey;
	sscpy(e0, e1);
	move(0., 0.);
}