Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: Color Saturation in plots
Posted:
Aug 24, 2013 4:15 AM


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@comcast.net http://home.comcast.net/~djmpark/index.html
From: Ben Blomberg [mailto:bblomberg@mail.bradley.edu]
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@mail.bradley.edu>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 eKeV)" }, LabelStyle > {15}, > InterpolationOrder > 10, ColorFunction > "GreenPinkTones"] > > I have played around with ColorFunctionScaling but with no luck. i > would appreciate any thoughts. > > Best, > Ben >



