我将标签放在直方图条的顶部(偏移10),如下所示: plot "hist.txt" using 1:2 with boxes ls 1, "hist.txt" using 1:($2+10):(sprintf("%.1f%%",$2)) with labels 当条形值为87%时,它将绘制标签。当条形值为92%时,不会绘制标签,可能是因为没有足够的空间。我如何告诉它绘制标签,
我正在尝试从我的c++程序在gnuplot中实时绘制我的图形。我已经安装了Gnuplot4.6,并且能够打开gnuplot.exe和绘制graphs.But,但我无法通过管道打开该应用程序。这是我用过的代码。\bin\wgnuplot"; gp = _popen("gnuplot -persist", "w"); gp =