Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

color legend

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110464] color legend
  • From: eric g <eric.phys at gmail.com>
  • Date: Sat, 19 Jun 2010 07:49:26 -0400 (EDT)

Hello Group,
I want to add a color grayscale 
(myColorFunction[x_]:=RGBColor[1-x,1-x,1-x]) legend this arrayplot, from 
min (white) to max (dark) values.

ArrayPlot[Table[5./(1 + x^2 + y^2), {x, -5, 5}, {y, -5, 5}], Frame -> None]

best regards,
eric


  • Prev by Date: Re: Named patterns forbidden in Except?
  • Next by Date: defining a function of functions
  • Previous by thread: Re: Bar chart style with ListPlot
  • Next by thread: Re: color legend