Plotting A Region, and then Ploting a Contour Plot inside that Region

Plotting A Region, and then Ploting a Contour Plot inside that Region

Post by zdavis0 » Fri, 21 Jul 2006 03:38:27


Hello All,

I have some x,y pair data that I need to plot into a region. Is there
a way to created a bounded piecewise function in matlab? Then I need
to plot a contour inside the plot, which I know even less about how to
do. Any suggestions?


Zach
 
 
 

1. Plot contour plots on 2D planes of 3D plot

2. Contour Plot / Plot Range / Contour Scaling

Hello All,

I apologize if this has been previously answered, but I have searched
through the posts for about an hour and have not found an answer to
this question.

Here is my scenario:

I have a family of contour plots and I have a range of values (z) that
spans the entire family (z from 0 to 1). Some plots will have data in
the full range and some will have only a subset of the range (say from
0 to 0.3). My goal is to to have a consistent contour plot coloring
scheme across all my plots (e.g. 0.5 is yellow on all my plots). It
seems like this should be accomplished through PlotRange, but that is
not the case.

Here is a bit of example code demonstrating my problem (with some
bogus function)

(* For Group *)
ShowLegend[
ContourPlot[0.3 x y^3, {x, 0, 1}, {y, 0, 1},
ColorFunction -> "ThermometerColors",
PlotLabel -> "Temp Dist through slice 1", FrameLabel -> Automatic,
PlotRange -> {0, 1}, Contours -> 19,
ContourLabels -> True], {ColorData["ThermometerColors"][1 - #1] &,
19, "1", "0", LegendPosition -> {0.8, -0.4}}]

So the max value of the function within the range is 0.3. And the
PlotLabel shows values ranging from 0 to 0.3 as expected. Yet the
shaded contours are displaying dark red in the upper right corner,
which is the value associated with 1. I would expect (and have in vain
been trying to get Mathemetica to do this) the upper right contour to
be light blue.

I am using Mathematica 7.0.1.0 (student edition if that matters)

Any help would be much appreciated! Thanks!!

3. Plot contour regions over a globe

4. mixed signal plot and controlling the plot area (size) of each plot?

5. How to plot 4 plots in one plot/image/pdf?

6. Creating a plot with line plot and scatter plot in the same figure

7. How do you plot multiple plots in an array with no space between plots?

8. Re : Showing a single complete plot symbol in a plot legend, e.g. for scatter plots

9. plots sent to to a chart tab do not show plot & I loss the plot

10. Showing a single complete plot symbol in a plot legend, e.g. for scatter plots

11. Interpretting plot of two vectors as "multiline plot" with just point each in each plot?

12. mapping a contour plot onto a surface plot

13. Moving the contour plot with the surfc plot function

14. Plotting a contour plot with cylindrical co-ordinates

15. Contour Plot + Points Plot