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

MathGroup Archive 2007

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

Search the Archive

Re: Change colors in contour plot and including a legend?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82057] Re: [mg82009] Change colors in contour plot and including a legend?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 10 Oct 2007 04:35:18 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200710090939.FAA19983@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

Short answer: yes!

Longer answer: By default, ContourPlot uses a coloring scheme, but you 
can change it using the options ColorFunction and ContourShading.  See 
the Documentation Center reference page for ContourPlot.

sean_incali wrote:
> Can you change the output of the ContourPlot from gray levels to
> colors?  And then have a legend that breaks down the levels into say
> 10 or whatever number of bins and denote what the values are?
> 
> Something like this.
> 
> http://www.originlab.com/index.aspx?s=8&lm=210&pid=962
> 
> Thanks for any info in advance.
> 
> Sean
> 
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Reproducible crash on startup when opening empty text file
  • Next by Date: Re: Underline string in colour
  • Previous by thread: Change colors in contour plot and including a legend?
  • Next by thread: Re: Change colors in contour plot and including a legend?