I am trying this diagrams example:
funs = map (flip (^)) [2..6]
visualize f = stroke' (with & vertexNames .~ [[0 .. 6 :: Int]] )
(regPoly 7 1)
# lw none
# showLabels
# fontSize (Local 0.6)
<> star (StarFun f) (regPoly 7 1)
# stroke # lw thick # lc red
example = center . hcat' (with & sep .~ 0.5) $ map visualize funs
And here is the result:
Everything appears as expected that some of the numbers (or more precisely, the center of these numbers) are place near the edges of the image, so in the end they look like having been cut off.
Is there a way to solve this?