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

Method BandedSampleTest

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

Source from the content-addressed store, hash-verified

15 ArrayData griddata = new ArrayData(numpts, numdt, 3);
16
17 BandedSampleTest() {
18 plottingPanel.addDrawable(carpet);
19 plottingPanel.setAutoscaleX(true);
20 plottingPanel.setAutoscaleY(true);
21 griddata.setScale(0, numpts, 0,numdt);
22 carpet.setAutoscaleZ(false, 1);
23 carpet.setGridData(griddata);
24 carpet.clearData();
25 drawingFrame.setVisible(true);
26 new Thread(new Runnable() {
27 @Override
28 public void run() {
29 initCarpet();
30 plottingPanel.repaint();
31 }
32 }).start();
33 }
34
35 void initCarpet() {
36 double[][] row = new double[3][numpts];

Callers

nothing calls this directly

Calls 9

setScaleMethod · 0.65
setAutoscaleZMethod · 0.65
setGridDataMethod · 0.65
clearDataMethod · 0.65
setVisibleMethod · 0.65
addDrawableMethod · 0.45
setAutoscaleXMethod · 0.45
setAutoscaleYMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected