Commits

tim  committed 5d3b5cc

Minor improvements to PlotTiming rendering

- Turn off lines around bar edges
- Remove gap between bars
- Centre bars at 0.5,1.5... etc

  • Participants
  • Parent commits 2ce01d1

Comments (0)

Files changed (1)

File Criterion/Plot.hs

     bottomAxis = laxis_title ^= "number of samples"
                $ defaultLayoutAxis
 
-    bars = plot_bars_values ^= (zip [0..] . map (:[]) . fromU $ times)
+    bars = plot_bars_values ^= (zip [0.5,1.5..] . map (:[]) . fromU $ times)
+         $ plot_bars_item_styles ^= [ (solidFillStyle c, Nothing) | c <- defaultColorSeq ]
+         $ plot_bars_spacing ^= BarsFixGap 0
          $ defaultPlotBars
 
 renderKDE :: String -> Points -> UArr Double -> Renderable ()