2

我有一个交互式 perl 脚本,它使用来自 mysql 的数据通过 Chart::Gnuplot 包生成许多图。有时图形大小会因过多的图而超载。

我会选择生成仅包含图例(无图形)的 gnuplot 图像。

4

1 回答 1

4

我不知道这是否会有所帮助,但是...

plot [0:1] [0:1] NaN title "Hello" #Just the label in the legend.

或者...

plot sin(x),NaN title "Boo"  #Plots sin(x) (properly labelled) and a second label "Boo"

当然,这还是有边界之类的。您可以取消设置这些...unset borderunset tics

于 2012-04-23T19:31:00.640 回答