hageldave / JPlotter

OpenGL based 2D Plotting Library for Java using AWT and LWJGL
https://github.com/hageldave/JPlotter/wiki
MIT License
45 stars 6 forks source link

added "Export PNG" button to the JPlotterCanvas Panel #57

Closed reichmla closed 1 year ago

reichmla commented 1 year ago

Just added a new button to the JPlotterCanvas panel, that exports to PNG. This complements the SVG/PDF buttons, as shown in the screenshot:

image

reichmla commented 1 year ago

Also landed a fix that updates the jtree in the sidebar every time the canvas is resized. This is necessary as the tickmark label text objects in the canvas get updated at every resize event and the ones shown in the jtree are outdated then.