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 | 746 | //smoothfactor |
747 | 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 | 751 | // paramId |
751 | 752 | if (empty($paramZInfo['id'])) { |
752 | 753 | throw new Exception('Z parameter must be defined to apply function.'); |
... | ... |