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

The class named PlotALot03 also provides all of the general capabilities described earlier for the class named PlotALot01 that are appropriate for a two-channel plotting system.

Figure 3. Sample output for PlotALot03 class.
Missing Figure.

Same data, two colors

The two sets of data plotted in Figure 3 consisted of exactly the same values. Thus, the plots on the even numbered axes look just like the plots onthe odd numbered axes except that one plot is red and the other is black. Using the same values for each set of data makes it easy to confirm that both plottingprocesses are behaving the same way.

The plotting parameters

The overall plotting parameters for Figure 3 are shown below:

Title: A Frame width: 158Frame height: 270 Page width: 150Page height: 243 Trace spacing: 36Sample spacing: 5 Traces per page: 6Samples per page: 90

Because PlotALot03 doesn't superimpose the two sets of data, twice as many pages would be required for PlotALot03 to plot a given amount of data as would be required by PlotALot02 for the same Page size.

PlotALot03 will refuse to plot data for a set of plotting parameters that result in an odd number of traces on the page.

Sample output for PlotALot04 class

The class named PlotALot04 plots three sets of data on separate horizontal axes as shown in Figure 4 . The first set of data is plotted in black. The second set of data is plotted in red. The third set of data is plotted in blue. Thisclass is particularly useful for displaying the input, output, and error signals involved in adaptive signal processing, for example.

The class named PlotALot04 also provides all of the general capabilities described earlier for the class named PlotALot01 that are appropriate for a three-channel plotting system.

Figure 4. Sample output for PlotALot04 class.
Missing Figure.

Same data, three colors

The three sets of data plotted in Figure 4 consisted of exactly the same values. Thus, the plots on the three different axes look just alike except thatthe first plot is black, the second plot is red and the third is blue. Using the same values for each set of data makes it easy to confirm that all threeplotting processes are behaving the same way.

The plotting parameters

The overall plotting parameters for Figure 4 are shown below:

Title: A Frame width: 158Frame height: 270 Page width: 150Page height: 243 Trace spacing: 36Sample spacing: 5 Traces per page: 6Samples per page: 60

PlotALot04 will terminate if the number of traces per page is not evenly divisible by 3

Sample programs

The class named PlotALot01

Now that you know where we are heading, it's time to examine these four classes in detail. I will begin with the class named PlotALot01 .

Purpose of the class

This class is designed to plot large amounts of data for a single channel. The class is particularly useful for plotting time series data. Also, bycarefully adjusting the plotting parameters, this class can be used to plot large quantities of spectral data in a waterfall display with each new spectral estimate being plotted immediately below the previous estimate.

Questions & Answers

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
cell is the building block of life.
Condoleezza Reply
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