Closed ino-josh closed 8 months ago
That makes sense.
I am submitting this as an issue as opposed to a pull request in case there is some reason this is the way that it is intentionally, and I just don't know that reason.
No. It's not really intentional.
Feature category
The problem When saving, if the format is pngcairo, the
size
option is not passed to gnuplot. So when you dosave("/test.png")
orsave("/test", "pngcairo")
, the resulting image is always 640x480.The solution I'd like In
gnuplot.cpp
:simplty add
"pngcairo"
to the list.According to gnuplot documenation:
and
I believe that satisfies the statement
Terminals that have the size option *in the way we expect it to work*
Alternatives I've considered Using the "png" terminal, but it looks like trash compared to "pngcairo" :)
Additional context I am submitting this as an issue as opposed to a pull request in case there is some reason this is the way that it is intentionally, and I just don't know that reason.