Sign in
plan9port
/
plan9
/
e31375ac4e12494f6a085cb2c9d51e9e61dd8216
/
.
/
src
/
cmd
/
plot
/
libplot
/
openpl.c
blob: 6972f95681059c193de7404d012e92e0715e42a8 [
file
] [
log
] [
blame
]
#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.
);
}