Open JimHokanson opened 9 years ago
I'm thinking the function should be: sl.plot.figToClipboardForPPT
sl.plot.uimenu.addScreenshotOption
will grab a screenshot. We need to add on support for expanding the axes to the size of the figure since the screenshot grabs the figure, not some merger of all axes (not sure if this is possible).
sl.plot.subplotter
would need to be updated to support expanding borders to [0,1] or maybe [0.01 0.99]
Then the screenshot should be of an appropriate size, which may vary depending upon usage. This is where having a menu that resized the figure to set sizes would be helpful. See issue #56
Often times for quick analysis I'm just looking to take a figure and put it into powerpoint. This function should try and resize the figure so that it is as large as possible while maximizing the content shown when scaled correctly (i.e. maximize given a particular width/height ratio).
I'm imagining this might involve some fairly basic image processing and involve multiple resize calls with some basic optimizations, rather than trying to know exactly how a figure resize will affect layout.