2
我有下面的X-一个二维曲线图和y为整个画布被填满了?
set xrange [ 460.000 : 600.000 ] noreverse nowriteback
set yrange [ -10.0000 : 55.0000 ] noreverse nowriteback
我要添加以下矩形:
set object 1 rectangle from 460,-5 to 600,5 fillcolor rgb "goldenrod" fillstyle solid 0.25 noborder
但我使用下面的命令:
set object 1 rectangle from graph 0, -5 to graph 1, 5 fillcolor rgb "goldenrod" fillstyle solid 0.25 noborder
问题是,当我使用最后一个命令时,整个画布变满了...... 它有什么问题?
我使用以下版本
G N U P L O T
Version 4.6 patchlevel 5 last modified February 2014
Build System: Linux x86_64
它的工作!现在,让我看看我是否理解:例如,当我写图1,5时,gnuplot将它理解为图0和图5?非常感谢你! – Larara 2014-09-22 17:13:14
是的。从文档(“坐标”,“帮助坐标”一节):“如果未指定x的坐标系,则使用'first'。如果没有指定y的系统,则采用对x使用 。 “ – Christoph 2014-09-22 17:44:50
再次感谢您,非常感谢! – Larara 2014-09-22 18:02:27