MathGroup Archive 2012

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

Search the Archive

Re: Logarithmic Color Scale in a ListContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129215] Re: Logarithmic Color Scale in a ListContourPlot
  • From: "djmpark" <djmpark at comcast.net>
  • Date: Fri, 21 Dec 2012 05:41:46 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <4171469.2062.1355992359835.JavaMail.root@m06>

It would help if you could post a specific case illustrating the problem,
perhaps in the context of a ContourPlot so responders would have an easy
starting point.

I'm guessing that your problem is that many contour levels come out having
the same color. If that is the case you could probably use the option
ColorFunctionScaling -> False, and then write a ColorFunction that mapped
the desired actual contour values to a range of 0 to 1 using a log function.

The Presentations Application has a ContourColors ColorFunction that assures
different colors for each contour region regardless of the spacings of the
contour values. 

But you can probably tailor your own ColorFunction as indicated above.


David Park
djmpark at comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: raulfluis at gmail.com [mailto:raulfluis at gmail.com] 


Dear All,

Is it possible to use a logarithmic scale in the colour legend of a
ListContourPlot?

Thank you very much in advance for any help you can provide.

Best regards,
Raul




  • Prev by Date: Re: Linear regression notebook won't work in Version 9
  • Next by Date: Re: Export graphics without notebook ( using .m file)
  • Previous by thread: Re: Logarithmic Color Scale in a ListContourPlot
  • Next by thread: Re: Logarithmic Color Scale in a ListContourPlot