pgmag.setXaxisLegend("Log10[radial frequency]");
pgmag.setYaxisLegend("Magnitude[Transfer Function]");
pgmag.setYaxisUnitsName("dB");
pgmag.setPoint(0);
pgmag.setLine(3);
pgmag.plot();
for(int i=0; i<nPoints; i++){
freqArray=Math.pow(10,logFreqArray[i]);
cdata[0][i]=logFreqArray[i];
cdata[1][i]=this.evalPhaseTransFunctS(freqArray)*180.0D/Math.PI;
}