Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12917

Re: Logarithmic Color Scale in a ListContourPlot

From "djmpark" <djmpark@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Logarithmic Color Scale in a ListContourPlot
Date 2012-12-21 10:38 +0000
Message-ID <kb1e78$ove$1@smc.vnet.net> (permalink)
References <4171469.2062.1355992359835.JavaMail.root@m06>
Organization Time-Warner Telecom

Show all headers | View raw


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@comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: raulfluis@gmail.com [mailto:raulfluis@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Logarithmic Color Scale in a ListContourPlot "djmpark" <djmpark@comcast.net> - 2012-12-21 10:38 +0000

csiph-web