plots
plots copied to clipboard
Remove extra digits from tick labels.
Right now, an integer could appear as "12.0" instead of the more pleasing "12". To fix this, I use:
xAxis . tickLabelFunction .= atMajorTicks (reverse . (\(x:xs) -> if x == '.' then xs else (x:xs)) . dropWhile (== '0') . reverse . show . (realToFrac :: Real n => n -> Float))
for both the x and y axis. It's dirty but a quick fix.