You can completely suppress the ListContourPlot output by giving the option Contours -> None. (* //Created by Jens U.Nöckel for Mathematica 8,12/2011 *)Įxcept[, ColorFunction -> Hue,Īs with any ListDensityPlot, the smoothness of the false-color map depends on InterpolationOrder, ImageSize, and of course the number of data points.īy default, the image dimensions are scaled to yield the same tick mark spacing on both axes, but you can change this by specifying the option AspectRatio -> ratio, cf. A usage example is given at the bottom of this page. Use this function just as you would ListDensityPlot, except that you can also add options recognized by ListContourPlot. For the motivation and further discussion of this program, see "Mathematica density and contour Plots with rasterized image representation". You can copy and paste the following into a notebook as literal plain text. This is the HTML version of a Mathematica 8/9 notebook. ![]() This is very handy extension to the default cases above. Thus you just need to add a color range in to the Rescale function and it will convert the range of your function to that of the visible spectrum. Combine ListContour and Rasterized ListDensity Plot in Mathematica You can see that the default range for this color data is not from 0 to 1 but from 380 to 750, which corresponding to the physical wave length.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |