Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'List Contour Plot and Grey Scale scaling' topicStudent Support Forum > General > Archives > "List Contour Plot and Grey Scale scaling"

Next Comment >Help | Reply To Topic
Author Comment/Response
Alan C
04/13/03 01:25am

I am having a problem with ListContourPlot not correctly shading my plots. I have a data set of approximately 500x500 points. Most of this range has a value near zero, though there is a "spike" near the center of the data. This spike is a Gaussian function that covers (FWHM) roughtly 40x40 of the data set. The problem with ListContourPlot is that it just shows it as a solid white circle with the rest of the plot black. There is no varying shades of gray showing how the data falls off. A good example can be seen with:

ListContourPlot[Table[Exp[-(x^2+y^2)/4],{x,-20,20,0.1},{y,-20,20,0.1}]]

Compare this with

ListPlot3D[Table[Exp[-(x^2+y^2)/4],{x,-20,20,0.1},{y,-20,20,0.1}],Mesh->False,PlotRange->All]

Is there any way I can properly "scale" my contour plots?

URL: ,

Subject (listing for 'List Contour Plot and Grey Scale scaling')
Author Date Posted
List Contour Plot and Grey Scale scaling Alan C 04/13/03 01:25am
Re: List Contour Plot and Grey Scale scaling Henry Lamb 04/17/03 1:01pm
Next Comment >Help | Reply To Topic