nx10 / httpgd

Asynchronous http server graphics device for R.
https://nx10.github.io/httpgd
GNU General Public License v2.0
368 stars 19 forks source link

Resize plot to any ratio and size #137

Open RYY0722 opened 1 year ago

RYY0722 commented 1 year ago

Is your proposal related to a problem?

The plot ratio is fixed once it is created. Whenever zoomed in or out, or slide the splitting bar, the ratio is fixed. Snipaste_2023-06-05_10-11-48 Snipaste_2023-06-05_10-11-34 Snipaste_2023-06-05_10-11-42

Describe the solution you'd like

In RStudio, we can change the height and width to any value in the pop-out window, which can help testing out the best ratio for saving a plot. Snipaste_2023-06-05_10-13-04 Snipaste_2023-06-05_10-13-20

Describe alternatives you've considered

windows(); plot() will pop out a window in R to show the plot, which can be changed to any size.

Additional context

Nill.

nx10 commented 1 year ago

I believe what you are asking for is implemented in the export dialog window. Or is there something missing there that you would like to see?