gnuplot, draw only the legend and not the graph plot

≯℡__Kan透↙ 提交于 2019-12-20 03:43:08

问题


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.

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


回答1:


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

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

or...

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

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



来源:https://stackoverflow.com/questions/10282192/gnuplot-draw-only-the-legend-and-not-the-graph-plot

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!