plotting sample codes using jmathplot.jar