小编dre*_*zha的帖子

gnuplot标签中的逗号

我用gnuplot来计算货币数据,目前我已经设法将y轴上的标签设置为没有小数的浮点值(而不是指数)但是我希望能够在标签上添加逗号,但我不能弄清楚如何.

有任何想法吗?

即当前的输出给我2500英镑 - 正如你所看到的,数据没有分组 - 我想把它分成数千,所以它看起来像25,000,000英镑.

编辑:我目前的设置是

set format y '£%.0f'

currency gnuplot labels

5
推荐指数
1
解决办法
3487
查看次数

Gnuplot - EPS终端产生额外的字符

我有一个gnuplot文件在EPS中输出相当不错,但是当涉及到标签时我遇到了一些问题.出于某种原因,在每个标签之前插入随机数字(').这不是在PNG出口中生成的.

示例gnuplot错误图片

gnuplot文件如下

set term postscript eps enhanced 
set datafile separator ","
set datafile missing "NULL"
set decimal locale
set output 'Average_Costs_Plotted.eps'
set grid
set key left
set ytics nomirror
set xtics nomirror
set format y "£%'.0f"
set ylabel "Total Loss Estimate \n Based on Average Cost Per m^2"
set xlabel "Area Damaged m^2"
plot "Average_Costs_Upto_10000mSQM.csv" using 1:2 axis x1y1 title 'Industrial Processing' w l lw 2
Run Code Online (Sandbox Code Playgroud)

terminal latex gnuplot eps

2
推荐指数
1
解决办法
438
查看次数

标签 统计

gnuplot ×2

currency ×1

eps ×1

labels ×1

latex ×1

terminal ×1