Defining the axis label cos
|
---|
The cos(x) and cos2(x) are part of the java.Math.* classes which can be imported or explictly coded.
Next, we define two rather than one XYDataset:
CombinedDomainXYPlot parent = new CombinedDomainXYPlot(new NumberAxis("x-angle argument")); |
---|
Penultimately, we set up each series to be added:
|
---|
|
---|
Illustration 3Figure 3
4 |
---|