Revised: Fri Oct 16 23:15:53 CDT 2015
This page is included in the following books:
Table of contents
- Preface
- Preview
-
Sample programs
-
The class named PlotALot01
- Purpose of the class
- Usage information
- Different plotting objects
- Beginning of the class named PlotALot01
- Feed the plotting object titled "A"
- Plot the data
- Feed and plot the object titled "B"
- Some instance variables
- The first overloaded constructor
- Save the parameter values
- A temporary Page object
- Display some information
- Dispose of the temporary Page object
- Compute and display the remaining plotting parameters
- Instantiate first usable Page object
- The other overloaded constructor
- The feedData method
- The MyCanvas class, a preview
- The plotData method
- Make all pages invisible
- Make the pages visible in reverse order
- The other overloaded version of the plotData method
- The Page class
- An anonymous terminator for the Page class
- The putData method of the Page class
- The MyCanvas class
- The overridden paint method
- Plot the points
- Draw an oval
- Connect the points with straight lines
- End of the PlotALot01 class
- The class named PlotALot02
- The class named PlotALot03
- The class named PlotALot04
-
The class named PlotALot01
- Run the programs
- Summary
- Complete program listings
- Miscellaneous
Preface
In one of my earlier modules titled Plotting Engineering and Scientific Data using Java , I published a generalized 2D plotting class that makes it easy to cause other programs todisplay their outputs in 2D Cartesian coordinates . I have used that plotting class in numerous modules since I published it. Hopefully, some of you have been using it as well.
In another of my earlier modules titled Plotting 3D Surfaces using Java , I presented and explained a 3D surface plotting class that is also very easy to use. I have used that class in severalmodules since then, and I will be using it in many future modules as well.
Plotting large quantities of data
One of the common requirements of engineering, technical, and scientific computing is to be able to plot and to examine very large quantities of data.This is particularly true in time-series analysis, spectral analysis, and digital signal processing ( DSP ). I will present and explain four separate Java classes in this module, which makeit very easy to plot and to examine large quantities of data in Java programs.