thephy18的博客

学习笔记

gnuplot中填充面积——filledcurve的使用
set term post
set output "fig1.eps"
set size 1, 1
set multiplot layout 2, 2
set size 0.5, 0.5

set origin 0, 0.5
set title "Fig1: Fill area between two curves"
set style data lines
set xrange [0:5]
plot "a.dat" u 1:2:3 "%lf %lf %lf" w filledcu

set origin 0.5, 0.5
set title "Fig2: plot with filledcurve"
plot [0:10] [0:5] sqrt(x) with filledcurve x1

set origin 0,0
set title "Fig3: plot with filledcurve"
plot [0:10] [0:5] sqrt(x) with filledcurve xy=3,4

set origin 0.5,0
set title "Fig4: plot with filledcurve"
set style fill pattern 2
plot [0:10] [0:5] sqrt(x) with filledcurve y=4 

unset multiplot

set output

reset


效果如图:


阅读更多
个人分类: gnuplot
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

gnuplot中填充面积——filledcurve的使用

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭