// outline
qpwEnableOutline(p,wtPlot1,1);
qpwSetOutlinePen(p,wtPlot1,GREEN);
// legend
qpwSetAutoLegend(p,wtPlot1,1);
qpwEnableLegend(p,wtPlot1,1);
qpwSetLegendPos(p,wtPlot1,0);
qpwSetLegendFrameStyle(p,wtPlot1,Box|Sunken);
// axes
qpwSetAxisTitle(p,wtPlot1,xBottom, "Normalized Frequency");
qpwSetAxisTitle(p,wtPlot1,yLeft, "Amplitude");
// curves
qpwInsertCurve(p,wtPlot1,0,"Sinus");
qpwSetCurvePen(p,wtPlot1,0,YELLOW,3,DashDotLine);
qpwSetCurveYAxis(p,wtPlot1,0,yLeft);
qpwSetCurveData(p,wtPlot1,0,100,xa,ya);
qpwReplot(p,wtPlot1);
|