Commit 4f5b34a4ab8a77851904c6707431bedc6edc4d0e
1 parent
7fc87ded
Exists in
master
and in
16 other branches
Add normalized density
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
@@ -746,7 +746,8 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass | @@ -746,7 +746,8 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass | ||
746 | //smoothfactor | 746 | //smoothfactor |
747 | $histogram2DNode->getHistotype()->setSmoothFactor($paramData->{'param-drawing-object'}->{'histo2d-smoothfactor'}); | 747 | $histogram2DNode->getHistotype()->setSmoothFactor($paramData->{'param-drawing-object'}->{'histo2d-smoothfactor'}); |
748 | 748 | ||
749 | - if($paramData->{'param-drawing-object'}->{'histo2d-function'} != "density"){ | 749 | + if(($paramData->{'param-drawing-object'}->{'histo2d-function'} != "density") && |
750 | + ($paramData->{'param-drawing-object'}->{'histo2d-function'} != "normdensity")){ | ||
750 | // paramId | 751 | // paramId |
751 | if (empty($paramZInfo['id'])) { | 752 | if (empty($paramZInfo['id'])) { |
752 | throw new Exception('Z parameter must be defined to apply function.'); | 753 | throw new Exception('Z parameter must be defined to apply function.'); |