Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF output size in pixels #78

Closed
KiaShakiba opened this issue May 6, 2023 · 2 comments
Closed

PDF output size in pixels #78

KiaShakiba opened this issue May 6, 2023 · 2 comments

Comments

@KiaShakiba
Copy link

Is there any way to set the output PDF size in pixels, not inches. Or at least specify the size in inches, though support fractional sizes?

@SiegeLord
Copy link
Owner

I don't think you can specify it in pixels, but fractional inches should be fine. I've added this. Let me push a new version as well.

@KiaShakiba
Copy link
Author

Thanks! That's super helpful. Just in case you were looking for a way to do this, I believe other gnuplot libraries (e.g. sciplot for C++) take pixel values for the pdf then convert to inches internally using a DPI of 72.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants