Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

AW: Contour Plot

  • To: mathgroup at
  • Subject: [mg27116] AW: [mg26984] Contour Plot
  • From: "Wolf, Hartmut" <Hartmut.Wolf at>
  • Date: Sun, 4 Feb 2001 02:58:50 -0500 (EST)
  • Sender: owner-wri-mathgroup at

-----Ursprüngliche Nachricht-----
Von: Roberto Ruiz de Austri [mailto:r.ruizdeaustri at]
Gesendet: Mittwoch, 31. Januar 2001 05:22
An: mathgroup at
Betreff: [mg26984] Contour Plot

 Dear MathGroup Reader,

   I have a data file including differents physical quantities (e.g. x,
y, z1, z2, differents columns) . I generate shaded contour plots
  for each "zi". After that I try to link these figures in one with
"Show[ figure1,figure2,... ]" sentences. But I just get the first in the
  What is the way to get just one figure including all "zi".

  Thank you very much.


Dear Roberto,

let's look at these Plots:

sc = ContourPlot[Sin[x y/2], {x, -5, 5}, {y, -5, 5}, ContourShading ->
      Contours -> 7, ContourStyle -> RGBColor[1, 0, 0], PlotPoints -> 50];
ss = ContourPlot[Sin[x y/2], {x, -5, 5}, {y, -5, 5}, ContourLines -> False, 
      Contours -> 7, PlotPoints -> 50];
cc = ContourPlot[Sin[(x^2 + y^2)/4.], {x, -5, 5}, {y, -5, 5}, 
      ContourShading -> False, Contours -> 7, 
      ContourStyle -> RGBColor[0, 0, 1], PlotPoints -> 50];
cs = ContourPlot[Sin[(x^2 + y^2)/4.], {x, -5, 5}, {y, -5, 5}, 
      ContourLines -> False, Contours -> 7, PlotPoints -> 50];

Show[{sc, cc}];

If you have no contour shading the graphical objects only contain the lines
which clearly superpose in the resultant combined graphics.

Show[{ss, cs}];

With contour shading the second graphic completely shadows the first. The
reason is that the shades contours are represented by (filled) Polygones.

Show[{ss, cc}];

This in some circumstance might be an acceptable compromise (contour shading
for the first graphic, with superimposed contour lines)

-- Hartmut Wolf

  • Prev by Date: Re: Raise lists of a list to powers
  • Next by Date: Re: mathematica crashes after 10 seconds of computation
  • Previous by thread: Re: Negation versus Exponential
  • Next by thread: Parametric Plot Again