MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

ColorData as a Funnction of height values

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93220] ColorData as a Funnction of height values
  • From: olalla <operez009 at ikasle.ehu.es>
  • Date: Fri, 31 Oct 2008 03:08:01 -0500 (EST)

Dear all,

I have a long list of numerical values, {x,y,f(x,y)}, representing 
the value of a field in the points (x,y). I want to visualize them 
using ListContourPlot or ListDensityPlot. I have two poblems:

1. I want to change the colour to a usual scale of Blue-Minimum and 
Red-Maximum, or to make something similar to

ColorFunction -> Function[{x, y, z}, Hue[z]]

but with my numerical data, not with a function. How can I do this?

2. When including a legend with ListContourPlot or LisDensityPlot, 
how can I include the white colour which is already included in the 
plot but not in the legend?

Thanks in advance

Olalla P=E9rez
UPV/EHU=


  • Prev by Date: ItemSize in GraphicsColumn
  • Next by Date: RE: open multiple files
  • Previous by thread: ItemSize in GraphicsColumn
  • Next by thread: Frustration with opaque functions in Mathematica