MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / savePlotPlotProperties

Method savePlotPlotProperties

ij/src/main/java/ij/gui/Plot.java:1606–1609  ·  view source on GitHub ↗

Creates a snapshot of the plot properties (formatting, range etc., not PlotObjects such as data and corresponding curves etc.), for later undo by restorePlotProperties. See also killPlotPropertiesSnapshot

()

Source from the content-addressed store, hash-verified

1604 /** Creates a snapshot of the plot properties (formatting, range etc., not PlotObjects such as data and corresponding curves etc.),
1605 * for later undo by restorePlotProperties. See also killPlotPropertiesSnapshot */
1606 public void savePlotPlotProperties() {
1607 pp.rangeMinMax = currentMinMax;
1608 ppSnapshot = pp.deepClone();
1609 }
1610
1611 /** Restores the plot properties (formatting, range etc., not PlotObjects such as data and corresponding curves etc.)
1612 * from a snapshot previously created by savePlotPlotProperties. See also killPlotPropertiesSnapshot.

Callers 1

showDialogMethod · 0.80

Calls 1

deepCloneMethod · 0.65

Tested by

no test coverage detected