MathGroup Archive 2013

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

Search the Archive

Re: Color Saturation in plots

  • To: mathgroup at
  • Subject: [mg131552] Re: Color Saturation in plots
  • From: "djmpark" <djmpark at>
  • Date: Sat, 24 Aug 2013 04:20:54 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <> <114148.518.1377285500348.JavaMail.root@m06>

Could you use Clip on your data to cut down the peaks?

If you could use a contour plot instead of a density plot then the
Presentations application has a ContourColors function that causes each
contour region to have a distinct color where you can specify the contour
values. I usually use this where there is a significant plateau area where
one would want many close lying contours, which in a sense is what you have.

David Park
djmpark at 

From: Ben Blomberg [mailto:bblomberg at] 

Maybe if there was a way to have the colors on a log scale?

On Thu, Aug 22, 2013 at 3:16 PM, Ben Blomberg
<bblomberg at>wrote:

> Hello All,
> I am working on some density plots from tables of data. However I have 
> very high peaks in my data and it saturates the plot no matter what 
> color scheme I use. Is there a way I can prevent this from happening???
> Here is my code, it is simple enough. photo is the table of data I 
> export in.
> ListDensityPlot[photo, PlotLegends -> Automatic, Frame -> {True},  
> FrameLabel -> {"Electron Bunch Energy (MeV)", "Photon Energy (keV)",
>    "", "Yield (Photons/Sr e-KeV)" }, LabelStyle -> {15},  
> InterpolationOrder -> 10, ColorFunction -> "GreenPinkTones"]
> I have played around with ColorFunctionScaling but with no luck. i 
> would appreciate any thoughts.
> Best,
> Ben

  • Prev by Date: Re: variable-length input table
  • Next by Date: ConstantArray dimensions in Compiled functions
  • Previous by thread: Color Saturation in plots
  • Next by thread: ConstantArray dimensions in Compiled functions