Plot PDF with hat and squeeze segments
Calculated Flex intervals
probability density function
file path to which the plot should be saved
name of the plot
step size of the points in the plot
left plotting border
right plotting border
See Implementation
Plot PDF with hat and squeeze segments