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

Preview

The four classes that I will present and explain in this module are designed to make it easy for you to plot and examine large quantities of data.

Sample output for PlotALot01 class

The first class named PlotALot01 is designed for the plotting of large quantities of single-channel data. Figure 1 shows an example of the plotted output from this class when used to plot a small amount of data.

Figure 1. Sample output for PlotALot01 class.
Missing Figure.

Usage information

To use the class named PlotALot01 to plot data, you first instantiate an object of the class, and then you feed data to it as the databecomes available within your program.

When all of the data has been fed to the plotting object, you call a method named plotData on the object. This causes the object to produce one or more pages of plotted data in a stack on the screen. The page containingthe earliest data is on the top of the stack and the page containing the latest data on the bottom of the stack.

Plotting format

The first data sample is plotted on the left end of the top trace on the top page (titled Page: 0) . Successive data values are plotted from left to right across the page. When the data for the first trace reaches the right endof the trace, the next data sample is plotted at the left end of a new trace that is created below the current trace. Hence, the chronological order of thedata is from left to right, top to bottom.

A horizontal axis is drawn for each trace. Positive data values are plotted above the axis and negative values are plotted below the axis.

On to the next page

When the bottom trace on a page is filled, a new page is created automatically. The next data sample is plotted on the left end of the top traceon the new page and the process described above is repeated until that page also become full. Then a new page is created, etc.

Nearly unlimited plotting capacity

You can cause the page size to be as large as you want up to the full size of the screen on your computer. You can create as many pages as you want and youcan place as many traces on each page as you want.

Other than the amount of memory that is available to the Java virtual machine, (and perhaps some limit on the number of Page objects allowed by the operating system) , there is almost no limit to the number of pages that can be produced and the amount of data that can be plotted.

Millions of data values plotted

I have successfully plotted two million data values in 141 full screen pages on a modest laptop computer with no difficulty whatsoever. When I pushed thattotal up to eight million data values in 563 full screen pages, the plotting process slowed down, but I was still able to display and examine the plots. Thepractical limit on my computer seems to be somewhere between two million and eight million data values.

Two sample pages

Figure 1 shows two pages that were physically removed from the stack and arranged with the page containing the earliest data above the page containingthe latest data for publication in this module.

Questions & Answers

what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
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