1
如何控制尺度不变性?
我试图将几种图表放到一张桌子中。我认为这被称为“索引打印”,摄影人员在必须一次查看许多照片时会这样做。无论如何,这是代码: main :: IO () main = mainWith @(Diagram B) $ (tile . fmap renderOne) examples renderOne :: AnyGraph -> Diagram B renderOne (AnyGraph gr) = ... tile :: [Diagram B] -> Diagram B tile xs = let columns = (ceiling . sqrt . fromIntegral . length) xs in (vcat …