RustGnuplot icon indicating copy to clipboard operation
RustGnuplot copied to clipboard

A way to set the canvas size?

Open ArtemGr opened this issue 7 years ago • 1 comments

Resizing the graph should be as simple as "set term pbm size 600, 400" if I'm reading the docs right. But I wasn't able to find something like that in the library. Is this a missing option?

ArtemGr avatar Mar 08 '17 23:03 ArtemGr

Yeah, this isn't supported yet nicely although you can hack it currently by doing figure.set_terminal("pbm size 600, 400", ""). It makes sense to disallow that in the future and correctly expose these arguments via some type.

SiegeLord avatar Mar 10 '17 06:03 SiegeLord