LayMesh文档
EN

Plot Hist

plot-hist.lay
# Minimal complete example: plot.histpage=canvas(size=(100mm,75mm),background="#ffffff")p=plot(size=(86mm,62mm),x=axis(range=(0,4)),y=axis(range=(0,5)))p.hist(values=[0.2,0.8,1.1,1.2,2.4,3.1],bins=[0,1,2,3,4])page.add(p,offset=(7mm,6mm))

预览

背景
Plot Hist
原始示例
合计 —
详情

尚未运行

本设备浏览器实测;不含防抖等待。

修改仅保留在本页
依赖文件
  • examples/manual/plot-hist.lay

复现

sh
laymesh validate examples/manual/plot-hist.laylaymesh render examples/manual/plot-hist.lay -o figure.svglaymesh render examples/manual/plot-hist.lay -o figure.pdflaymesh render examples/manual/plot-hist.lay -o figure.png --dpi 300