Re: Color Saturation in plots
- To: mathgroup at smc.vnet.net
- Subject: [mg131552] Re: Color Saturation in plots
- From: "djmpark" <djmpark at comcast.net>
- Date: Sat, 24 Aug 2013 04:20:54 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <CAGroFLAzWPP-rRYBk_rjov0gzuT_zANr8ZvBozJ3bfQdTKz+ug@mail.gmail.com> <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 comcast.net http://home.comcast.net/~djmpark/index.html From: Ben Blomberg [mailto:bblomberg at 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 at 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 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 >