How to Increase the Resolution of Output .png Files? #166
Replies: 4 comments 5 replies
-
You can temporarily set this to The quiet mode doesn't necessarily mean it's headless. It just means it won't draw unless you call |
Beta Was this translation helpful? Give feedback.
-
This might work. I'm just not sure. I think gnuplot is using opengl in the end, and the opengl APIs usually don't work well with headless contexts, although it's technically part of the standard. In any case,
This might work. Trace commands is |
Beta Was this translation helpful? Give feedback.
-
I don't think there's a better way at the moment. Using a non-interactive gnuplot terminal with the gnuplot terminal should be the best way to do that. If the terminal is not using the proper size, then it's something we need to debug. |
Beta Was this translation helpful? Give feedback.
-
figure->save("./artifacts/plots/name", "png"); worked for me, i.e., resolution is set properly. Otherwise - it ignores my resolution. |
Beta Was this translation helpful? Give feedback.
-
I'm creating a plot with:
Adding
figure->size(2400, 1560);
does not appear to have any effect on the resolution of the output file, which is still 640x480. How do I make the output image higher resolution?Beta Was this translation helpful? Give feedback.
All reactions