Skip to content

Commit

Permalink
some changes made to make the output different and display the position
Browse files Browse the repository at this point in the history
of objects better.
  • Loading branch information
jic13003 committed Dec 9, 2015
1 parent a565576 commit b57bcb4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@ public double[] randv() {
randv[3] = 4.0;
randv[4] = 5.0;
randv[5] = 5.0;
randv[6] = 4.0;
randv[7] = 5.0;
randv[8] = 6.0;
randv[6] = -46865.0;
randv[7] = -5778.0;
randv[8] = -3443.0;
randv[9] = 7.0;
randv[10] = 7.0;
randv[11] = 8.0;
randv[12] = 9.0;
randv[13] = 0.0;
randv[14] = 0.0;
randv[15] = 7.0;
randv[16] = 7.0;
randv[17] = 7.0;
randv[10] = 7.8;
randv[11] = 0.0;
randv[12] = 29999.0;
randv[13] = -10077.0;
randv[14] = 6.0;
randv[15] = -7.0;
randv[16] = 5.0;
randv[17] = 3.0;
return randv;
}

Expand Down
2 changes: 1 addition & 1 deletion src/jat/examples/ThreeBodyExample/ThreeBodyExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static void main(String[] args) {

// Plot2DPanel p = new Plot2DPanel(min, max, axesScales, axesLabels);

ScatterPlot s = new ScatterPlot("orbit", Color.RED, XY);
ScatterPlot s = new ScatterPlot("position of masses", Color.RED, XY);
// LinePlot l = new LinePlot("sin", Color.RED, XY);
// l.closed_curve = false;
// l.draw_dot = true;
Expand Down

0 comments on commit b57bcb4

Please sign in to comment.