Plotting functions
No. 160
A simple character based plotting application
Q: |
Implement a class to plot e.g. ****** ** ** * ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ** * ** ** ****** |
A: |
The current solution is not yet very flexible: The intended
plot function is hard coded within the
You'll find a more sophisticated approach using interfaces in upcoming the section called “An interface based plotter”. |