Skip to main content
edited title
Link
user64494
  • 1
  • 4
  • 29
  • 60

How to set a max value in SmoothDensityHistogram?

deleted 1 character in body
Source Link

I'm using SmoothDensityPlot to compare two data sets DATA1 and DATA2, in which, each one has its respective maximum value, so I would like to set a BarLegend (already discussed here) corresponding to maximum value in DATA1 (around 20) and see the corresponding brighter spot in DATA2 (around 0.07) less bright.

More than that, only setting this on barlegend doestdoes not affects the density intensity plot, so I need to set this max value in SmoothDensityPlot to see something like this, I think..(Photoshop edit)

enter image description here Made using

Legended[SmoothDensityHistogram[wd, .025, PlotPoints -> 50, MaxRecursion -> 4, ColorFunction -> "SolarColors", PlotRange -> {{-1.3, 0.8}, {0.6, 2.2}}, AspectRatio -> 0.8, Frame -> False, ImageSize -> 600], BarLegend[{"SolarColors", {0, 20}}]] 

where wd is

wd = WeightedData[SetAccuracy[DATA1[[All, ;; 2]],2], DATA1[[All, -1]]]; 

How could I do that?

I'm using SmoothDensityPlot to compare two data sets DATA1 and DATA2, in which, each one has its respective maximum value, so I would like to set a BarLegend (already discussed here) corresponding to maximum value in DATA1 (around 20) and see the corresponding brighter spot in DATA2 (around 0.07) less bright.

More than that, only setting this on barlegend doest not affects the density intensity plot, so I need to set this max value in SmoothDensityPlot to see something like this, I think..(Photoshop edit)

enter image description here Made using

Legended[SmoothDensityHistogram[wd, .025, PlotPoints -> 50, MaxRecursion -> 4, ColorFunction -> "SolarColors", PlotRange -> {{-1.3, 0.8}, {0.6, 2.2}}, AspectRatio -> 0.8, Frame -> False, ImageSize -> 600], BarLegend[{"SolarColors", {0, 20}}]] 

How could I do that?

I'm using SmoothDensityPlot to compare two data sets DATA1 and DATA2, in which, each one has its respective maximum value, so I would like to set a BarLegend (already discussed here) corresponding to maximum value in DATA1 (around 20) and see the corresponding brighter spot in DATA2 (around 0.07) less bright.

More than that, only setting this on barlegend does not affects the density intensity plot, so I need to set this max value in SmoothDensityPlot to see something like this, I think..(Photoshop edit)

enter image description here Made using

Legended[SmoothDensityHistogram[wd, .025, PlotPoints -> 50, MaxRecursion -> 4, ColorFunction -> "SolarColors", PlotRange -> {{-1.3, 0.8}, {0.6, 2.2}}, AspectRatio -> 0.8, Frame -> False, ImageSize -> 600], BarLegend[{"SolarColors", {0, 20}}]] 

where wd is

wd = WeightedData[SetAccuracy[DATA1[[All, ;; 2]],2], DATA1[[All, -1]]]; 

How could I do that?

Source Link

How to set a max value in SmoothDensityHistogram

I'm using SmoothDensityPlot to compare two data sets DATA1 and DATA2, in which, each one has its respective maximum value, so I would like to set a BarLegend (already discussed here) corresponding to maximum value in DATA1 (around 20) and see the corresponding brighter spot in DATA2 (around 0.07) less bright.

More than that, only setting this on barlegend doest not affects the density intensity plot, so I need to set this max value in SmoothDensityPlot to see something like this, I think..(Photoshop edit)

enter image description here Made using

Legended[SmoothDensityHistogram[wd, .025, PlotPoints -> 50, MaxRecursion -> 4, ColorFunction -> "SolarColors", PlotRange -> {{-1.3, 0.8}, {0.6, 2.2}}, AspectRatio -> 0.8, Frame -> False, ImageSize -> 600], BarLegend[{"SolarColors", {0, 20}}]] 

How could I do that?