import org.jopas.*;
public class Example5 {
/**
* The constructor of the class have to start joPAS to run Octave because
* Octave program takes a long time to start
*/
public Example5() {
Jopas jopas = new Jopas(); //joPAS inicialitation
jopas.Execute("y=rand(1,50)");
jopas.plot("y");
}
public static void main(String av[]) {
Example5 example5 = new Example5();
}
} |