Dear Mathgroup,

Hello! How do I make a Contour Plot of 3D-points {x,y,z}, with different

colors indicating the height values (z) and x,y as the axes???

Thanks!

Ava.

f[x_,y_] := Sin[x*y/5];

xmin=-5;xmax=5;ymin=-5;ymax=5;

Plot3D[f[x,y],{x,xmin,xmax},{y,ymin,ymax},

PlotPoints->25];

nbrContours=15;

ContourPlot[f[x,y],{x,xmin,xmax},{y,ymin,ymax},

PlotPoints->25,

Contours->nbrContours,

ContourStyle->

Table[{Hue[(k-1)/(nbrContours-1)]},{k,nbrContours}],

ContourShading->False];

ContourPlot[f[x,y],{x,xmin,xmax},{y,ymin,ymax},

PlotPoints->25,

Contours->nbrContours,

ContourStyle->

Table[{Hue[(k-1)/(nbrContours-1)]},{k,nbrContours}],

ColorFunction->(Hue[#]&)];

Bob Hanlon

In article <bdjggb$8f3$ XXXX@XXXXX.COM >, "mail.post2office.cornell.edu"

<< How do I make a Contour Plot of 3D-points {x,y,z}, with different

colors indicating the height values (z) and x,y as the axes???

>><BR><BR>

xmin=-5;xmax=5;ymin=-5;ymax=5;

Plot3D[f[x,y],{x,xmin,xmax},{y,ymin,ymax},

PlotPoints->25];

nbrContours=15;

ContourPlot[f[x,y],{x,xmin,xmax},{y,ymin,ymax},

PlotPoints->25,

Contours->nbrContours,

ContourStyle->

Table[{Hue[(k-1)/(nbrContours-1)]},{k,nbrContours}],

ContourShading->False];

ContourPlot[f[x,y],{x,xmin,xmax},{y,ymin,ymax},

PlotPoints->25,

Contours->nbrContours,

ContourStyle->

Table[{Hue[(k-1)/(nbrContours-1)]},{k,nbrContours}],

ColorFunction->(Hue[#]&)];

Bob Hanlon

In article <bdjggb$8f3$ XXXX@XXXXX.COM >, "mail.post2office.cornell.edu"

<< How do I make a Contour Plot of 3D-points {x,y,z}, with different

colors indicating the height values (z) and x,y as the axes???

>><BR><BR>

Hi,

can you be more specific ?

Are your 3D-points on a regular grid ?

If not use the ContourPlot version form Tom Wickham-Jones

book

http://www.yqcomputer.com/

On a regular grid ListContourPlot[] will do it for you.

Regards

Jens

can you be more specific ?

Are your 3D-points on a regular grid ?

If not use the ContourPlot version form Tom Wickham-Jones

book

http://www.yqcomputer.com/

On a regular grid ListContourPlot[] will do it for you.

Regards

Jens

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

2. 3d plot with multiple 2d plot contours

3. Need to plot 2D color filled contour plot

4. Plotting a data set as a 2D coloured contour / 3D map

5. plotting a 2D line on top of a contour plot

6. 3D plots : "points plot" / "nuage de points"

7. From a 2D plot of points to creat a 3D graph of point density

8. 3D gnuplot demo - 2D contour projection, multiple curves on one plot

9. mapping z-values as point colors onto 2D plot

10. Set Some Plot Colours Colors in 3d plot

11. plot 2d data at bottom of 3d plot

12. plotting 2D image in a 3D plot

13. Placement of 2d plots in 3d plots

14. Custom Control of Axes and Plot Labels in 2D and 3D Plots

15. Convert a 3D plot to a 2D plot

3 post • Page:**1** of **1**