gnuplot我使用以下命令生成了一个图表:
echo 'plot [0:14][0:1000] "source_data_file" with steps title "example graph"; pause 15' | gnuplot
我想用xlabel和ylabel参数更改 X 轴和 Y 轴的名称,但如果我执行:
echo 'plot [0:14][0:1000] "source_data_file" with steps title "example graph" xlabel 'X-axe label' ylabel 'Y-axe label'; pause 15' | gnuplot
..我收到一条指向xlabel. 我试图用分号分隔参数,但这没有影响。另外,我想将 Y 轴的格式从指数(例如 1.8232e+06)更改为整数(例如 1823200),但我不知道如何将format y/format x参数传递给 gnuplot。
如果命令行参数从标准输入传递给 gnuplot,gnuplot 如何理解这些参数?