Returns the PlotObject for xLabel ('x'), yLabel('y'), frame ('f'; includes number font) or the legend ('l').
(char c)
| 4609 | |
| 4610 | /** Returns the PlotObject for xLabel ('x'), yLabel('y'), frame ('f'; includes number font) or the legend ('l'). */ |
| 4611 | PlotObject getPlotObject(char c) { |
| 4612 | switch(c) { |
| 4613 | case 'x': return xLabel; |
| 4614 | case 'y': return yLabel; |
| 4615 | case 'f': return frame; |
| 4616 | case 'l': return legend; |
| 4617 | default: return null; |
| 4618 | } |
| 4619 | } |
| 4620 | |
| 4621 | /** A shallow clone that does not duplicate arrays or objects */ |
| 4622 | public PlotProperties clone() { |
no outgoing calls
no test coverage detected