mbaz / Gaston.jl

A julia front-end for gnuplot.
MIT License
148 stars 30 forks source link

Consider adding a plot size kwarg to the plot() function. #144

Closed jleman closed 3 years ago

jleman commented 4 years ago

Consider placing the functionality for this code: set(termopts="size 600,500")

in the plot() function. Something like:
plot(x,y,size=(600,500))

mbaz commented 4 years ago

There are two difficulties here:

However, I think this could help to simplify Gaston's commands and make the interface more uniform. I'll seriously consider this for the 2.0 release.

mbaz commented 3 years ago

I've decided that, for consistency, this needs to be set in the term config option, for example:

set(term = "pdf size 5,3")

or

set(term = "qt size 800,600")