Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4912

Re: a question about data plotting

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: a question about data plotting
Date 2011-09-13 11:26 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4nelu$53f$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 9/12/11 at 4:23 AM, gsempos@gmail.com (geo sem) wrote:

>How is it possible using Mathematica to construct graphs like these
>that depicted in the following two links? I do not need complete
>details, just advice me for the available built- in functions or the
>necessary add-on packages. Thank you, in advance, for your response.

>01.   http://img11.imageshack.us/img11/668/14251790.png

This one can be done using ContourPlot. To get something
equivalent you would want to specify the ContourLabels option to
obtain the numbers that label the contour lines and specify
coloring options to get a monochrome background.

>02.   http://img577.imageshack.us/img577/42/81367303.png

This one can also be done with built-in functions. Here you want
to use ListPlot to plot the data making use of the PlotStyle
option to specify colors. DensityPlot can be used to create the
legend and Show is used to combine the two graphics into a
single graphic. Look up ColorData in the documentation center to
see what standard coloring schemes are already available.
Additionally, there is an example in the documentation of using
DensityPlot to create a legend.

If you don't care for the color schemes built-in, you can always
create your own with the built-in functions. A nice display of
the built-in color schemes can be found in the documentation
center by searching on guide/ColorSchemes.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: a question about data plotting Bill Rowe <readnews@sbcglobal.net> - 2011-09-13 11:26 +0000

csiph-web