# 3.1 Java1489-plotting 3d surfaces using java  (Page 7/24)

 Page 7 / 24

(The color black could also be dedicated to identifying the lowest elevation in the design of the Color Contour plot, in which case, bothschemes would be equal in this regard.)

As we learned earlier, the lowest elevation occurs at four different points on the surface, and those points are near the corners.

## The elevation of the valleys

Both plots show that while the valleys between the central and minor peaks are very deep, they aren't quite as deep as the lowest elevation. They are bluein the Color Shift plot and gray in the Color Contour plot. Because the gray color represents a somewhat smaller elevation range in the Color Contour plotthan the blue represents in the Color Shift plot, the elevation of the valley is defined more accurately in the Color Contour plot.

## A logarithmic conversion

Sometimes when plotting data, it is useful to plot the logarithm of the data values instead of the raw values.

(For many years, engineers have plotted data on graph paper referred to either as semi-log paper or log-log paper. Each type of graph paper hasadvantages and disadvantages relative to the other type and also has advantages and disadvantages relative to linear graph paper. This programprovides a capability that is analogous to the use of semi-log paper but in a 3D sense.)

## Flattens the plot

The use of semi-log paper has the effect of flattening the plot in the 2D case, or flattening the surface in the 3D case. The semi-log approach tends topull the structure of the low-level values up so that they can be better observed. The logarithm of the low elevations is closer to the maximum elevationthan is the raw value of the low elevations.

## More sample output

The three images in the top row of Figure 2 are reproductions of the three images in Figure 1 . They were included in Figure 2 for comparison with the bottom three images in Figure 2 .

Figure 2 . Sample output with logarithmic flattening.

The bottom three images in Figure 2 were produced in exactly the same way as the top three images except that prior to creating the image the elevationvalues for the surface were converted to the log base 10 of the raw elevation values.

## Six different formats

Thus, Figure 2 shows the same 3D surface plotted using six different plotting formats. Going from left to right and top to bottom, the six images illustrate:

• Grayscale (linear)
• Color Shift (linear)
• Color Contour (linear)
• Grayscale with logarithmic data flattening
• Color Shift with logarithmic data flattening
• Color Contour with logarithmic data flattening

## Isolates the location of the minima

The significance of the logarithmic conversion can be seen by comparing the two images on the right side of Figure 2 . When the raw elevation values were quantized into 23 levels, quite a few of the elevation values were quantizedinto the minimum value as indicated by the black areas in the top image.

However, after converting the elevation values to logarithmic values, only four points quantized to the minimum value as indicated by the four small blacksquares in the bottom right image. Thus, the top image on the right shows the general area of the lowest elevations on the surface whereas the bottom image onthe right clearly identifies the exact location of each of the four lowest elevations.

#### Questions & Answers

how can chip be made from sand
Eke Reply
are nano particles real
Missy Reply
yeah
Joseph
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
Lale Reply
no can't
Lohitha
where we get a research paper on Nano chemistry....?
Maira Reply
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
Maira Reply
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
Google
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
revolt
da
Application of nanotechnology in medicine
has a lot of application modern world
Kamaluddeen
yes
narayan
what is variations in raman spectra for nanomaterials
Jyoti Reply
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

### Read also:

#### Get Jobilize Job Search Mobile App in your pocket 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?

 By By OpenStax By OpenStax By Madison Christian By OpenStax By Madison Christian By Abby Sharp By OpenStax By Danielle Stephens By OpenStax