AW: Contour Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg27116] AW: [mg26984] Contour Plot
- From: "Wolf, Hartmut" <Hartmut.Wolf at t-systems.de>
- Date: Sun, 4 Feb 2001 02:58:50 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
-----Ursprüngliche Nachricht----- Von: Roberto Ruiz de Austri [mailto:r.ruizdeaustri at lancaster.ac.uk] Gesendet: Mittwoch, 31. Januar 2001 05:22 An: mathgroup at smc.vnet.net Betreff: [mg26984] Contour Plot Dear MathGroup Reader, I have a data file including differents physical quantities (e.g. x, y, z1, z2, ....in 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 list. What is the way to get just one figure including all "zi". Thank you very much. Roberto. Dear Roberto, let's look at these Plots: sc = ContourPlot[Sin[x y/2], {x, -5, 5}, {y, -5, 5}, ContourShading -> False, 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