LayMeshDocs
中文

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))

Preview

Background
Plot_Style
Original example
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

Edits stay on this page
Dependencies
  • examples/manual/plot_style.lay

Reproduce

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