<< Chapter < Page
  Digital signal processing - dsp     Page 2 / 27
Chapter >> Page >

How do you use these classes?

All that's necessary to use these classes to plot large quantities of data is to:

  1. Instantiate a plotting object of type PlotALot01 , PlotALot02 , PlotALot03 or PlotALot04 .
  2. Feed the data values that need to be plotted to the plotting object as they become available.
  3. Call a method named plotData on the plotting object when all of the data has been fed to the object.

It couldn't be easier

The choice among the four classes listed above depends on whether you need to plot one, two, or three channels of data, and the format in which you want toplot the data. The class named PlotALot01 is used to plot single-channel data. The classes named PlotALot02 and PlotALot03 are used to plot two-channel data in two different formats. The class named PlotALot04 is used to plot three-channel data.

A free plotting class

If you arrived at this page seeking a free Java class for plotting your data, you are in luck. Just copy the source code for the classes in Listing 35 through Listing 38 near the end of this module and feel free to use them as described in the comments in the source code.

On the other hand, if you would like to learn how the classes do what they do, and perhaps use your programming skills to improve them, keep reading.Hopefully, once you have finished the module, you will have learned quite a lot about plotting large quantities of data using Java.

Viewing tip

I recommend that you open another copy of this module in a separate browser window and use the following links to easily find and view the Figuresand Listings while you are reading about them.

Figures

  • Figure 1 . Sample output for PlotALot01 class.
  • Figure 2 . Sample output for PlotALot02 class.
  • Figure 3 . Sample output for PlotALot03 class.
  • Figure 4 . Sample output for PlotALot04 class.
  • Figure 5 . Self-test output for PlotALot01.

Listings

Questions & Answers

if three forces F1.f2 .f3 act at a point on a Cartesian plane in the daigram .....so if the question says write down the x and y components ..... I really don't understand
Syamthanda Reply
hey , can you please explain oxidation reaction & redox ?
Boitumelo Reply
hey , can you please explain oxidation reaction and redox ?
Boitumelo
for grade 12 or grade 11?
Sibulele
the value of V1 and V2
Tumelo Reply
advantages of electrons in a circuit
Rethabile Reply
we're do you find electromagnetism past papers
Ntombifuthi
what a normal force
Tholulwazi Reply
it is the force or component of the force that the surface exert on an object incontact with it and which acts perpendicular to the surface
Sihle
what is physics?
Petrus Reply
what is the half reaction of Potassium and chlorine
Anna Reply
how to calculate coefficient of static friction
Lisa Reply
how to calculate static friction
Lisa
How to calculate a current
Tumelo
how to calculate the magnitude of horizontal component of the applied force
Mogano
How to calculate force
Monambi
a structure of a thermocouple used to measure inner temperature
Anna Reply
a fixed gas of a mass is held at standard pressure temperature of 15 degrees Celsius .Calculate the temperature of the gas in Celsius if the pressure is changed to 2×10 to the power 4
Amahle Reply
How is energy being used in bonding?
Raymond Reply
what is acceleration
Syamthanda Reply
a rate of change in velocity of an object whith respect to time
Khuthadzo
how can we find the moment of torque of a circular object
Kidist
Acceleration is a rate of change in velocity.
Justice
t =r×f
Khuthadzo
how to calculate tension by substitution
Precious Reply
hi
Shongi
hi
Leago
use fnet method. how many obects are being calculated ?
Khuthadzo
khuthadzo hii
Hulisani
how to calculate acceleration and tension force
Lungile Reply
you use Fnet equals ma , newtoms second law formula
Masego
please help me with vectors in two dimensions
Mulaudzi Reply
how to calculate normal force
Mulaudzi
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing - dsp. OpenStax CNX. Jan 06, 2016 Download for free at https://legacy.cnx.org/content/col11642/1.38
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing - dsp' conversation and receive update notifications?

Ask