gnuplot,仅绘制图例,而不绘制图形 [英] gnuplot, draw only the legend and not the graph plot

查看:131
本文介绍了gnuplot,仅绘制图例,而不绘制图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个交互式perl脚本,该脚本使用mysql中的数据通过Chart :: Gnuplot包生成许多图.有时候,图的大小会因过多的图而过载.

I have an interactive perl script which uses data from mysql to generate many plots through the Chart::Gnuplot package. There are times when the graph size is overloaded with too many plots.

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

I would option to generate the gnuplot image containing only the legend (no graph).

推荐答案

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

I don't know if this would help, but...

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

Of course, this still has the border and other things. You can unset those...unset border and unset tics

这篇关于gnuplot,仅绘制图例,而不绘制图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆