LayMesh文档
EN

Plot_Style

plot_style.lay
# Minimal complete example: plot_stylepage=canvas(size=(100mm,75mm),background="#ffffff")s=plot_style(font_size=9pt,line_width=1pt)p=plot(size=(86mm,62mm),style=s)p.line(x=[0,1,2,3],y=[1,2,4,3])page.add(p,offset=(7mm,6mm))

预览

背景
Plot_Style
原始示例
合计 —
详情

尚未运行

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

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

复现

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