【发布时间】:2019-03-24 15:18:20
【问题描述】:
我无法从搜索文档和演示中找到我在 GNUplot 中尝试做的任何示例。
基本上我想在 10/50/90% 标记处绘制我在此输出(用于演示)上手动绘制的蓝、绿和红线。
编辑:为清楚起见,我正在寻找分布线命中 0.1/0.5/0.9 处的累积分布的位置,以了解要绘制哪些坐标线在。谢谢!
set terminal png size 1600,800 font "Consolas" 16
set output "test.png"
set title "PDF and CDF - 1000 Simulations"
set grid y2
set ylabel "Date Probability"
set y2range [0:1.00]
set y2tics 0.1
set y2label "Cumulative Distribution"
set xtics rotate by 90 offset 0,-5
set bmargin 6
plot "data.txt" using 1:3:xtic(2) notitle with boxes axes x1y1,'' using 1:4 notitle with linespoints axes x1y2
【问题讨论】:
标签: gnuplot