Plot_Style
# 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))# 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))预览
背景
依赖文件
examples/manual/plot_style.lay
复现
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