Skip to content

Commit

Permalink
remove dependency to jmatharray and jmathplot
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Richet committed Nov 27, 2015
1 parent 3913e45 commit 09d0b93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
</execution>
</executions>
</plugin>
<plugin>
<!--plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
Expand All @@ -133,7 +133,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down
17 changes: 6 additions & 11 deletions src/test/java/javax/swing/DefaultSyntaxColorizerPerfTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@
import java.io.IOException;
import java.util.Calendar;
import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;

import org.irsn.javax.swing.CodeEditorPane;
import org.math.array.DoubleArray;
import org.math.plot.FrameView;
import org.math.plot.Plot2DPanel;

/**
*
Expand Down Expand Up @@ -110,11 +105,11 @@ public void setUp() throws Exception {
frame.setSize(800, 800);
frame.setVisible(true);

tictocplot = new Plot2DPanel();
new FrameView(tictocplot);
//tictocplot = new Plot2DPanel();
//new FrameView(tictocplot);
}
static double tic;
Plot2DPanel tictocplot;
//Plot2DPanel tictocplot;

static String repeat(String s, int n) {
StringBuilder sb = new StringBuilder(n * s.length());
Expand All @@ -131,13 +126,13 @@ public void testTicTocs() {
for (int i = 1; i <= 33; i++) {
String content = repeat(unit_content, i);
double[] s = test10TicTocs(content);
tictocplot.addScatterPlot("", DoubleArray.buildXY(unit * i, unit * i, s));
//tictocplot.addScatterPlot("", DoubleArray.buildXY(unit * i, unit * i, s));
}
try {
/*try {
tictocplot.toGraphicFile(new File("DefaultSyntaxColorizerPerfTest.png"));
} catch (IOException ex) {
ex.printStackTrace();
}
}*/
}

public double[] test10TicTocs(String content) {
Expand Down

0 comments on commit 09d0b93

Please sign in to comment.