The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Color Saturation in plots
Replies: 3   Last Post: Aug 24, 2013 4:15 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David Park

Posts: 1,560
Registered: 5/19/07
Re: Color Saturation in plots
Posted: Aug 24, 2013 4:15 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

From: Ben Blomberg []

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

> 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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.