MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / GrayscalePlotTest

Method GrayscalePlotTest

src/test/GrayscalePlotTest.java:33–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33 GrayscalePlotTest() {
34 griddata.setScale( -1.0, 1.0, 0, 1.0);
35 grayscalePlot.setAutoscaleZ(true, 0, 1);
36 plottingPanel.addDrawable(grayscalePlot);
37 plottingPanel.setAutoscaleX(true);
38 plottingPanel.setAutoscaleY(true);
39 griddata.setScale(0, numpts, 0,numpts);
40 drawingFrame.setVisible(true);
41 plottingPanel.repaint();
42 }
43
44 public void setRandomVals() {
45 System.out.println("GSPlotTest.setRandomVals");

Callers

nothing calls this directly

Calls 7

setScaleMethod · 0.65
setAutoscaleZMethod · 0.65
setVisibleMethod · 0.65
repaintMethod · 0.65
addDrawableMethod · 0.45
setAutoscaleXMethod · 0.45
setAutoscaleYMethod · 0.45

Tested by

no test coverage detected