LayMesh文档
EN

Plot Contourf

plot-contourf.lay
# Minimal complete example: plot.contourfpage=canvas(size=(100mm,75mm),background="#ffffff")p=plot(size=(86mm,62mm),x=axis(range=(0,4)),y=axis(range=(0,5)))p.contourf(z=[[1,2,3],[2,4,2],[1,3,1]],levels=[1.5,2.5,3.5],extent=(0,4,0,5))page.add(p,offset=(7mm,6mm))

预览

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

尚未运行

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

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

复现

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