gnuplot使用using $1:$2出問題 - Linux

Table of Contents

大家用gnuplot有遇過這個問題嗎
我的gnuplot using $1:$2 這個部分竟然不能用
ex:
plot 'data.txt' using $1:$2
data.txt可能是
2 3
5 7
4 6
之類 就只有兩個column的數字
$1
會顯示 ^ undefined value這個錯誤
很奇怪 我看了help using也有提到$1 $2這個用法
而且我windows版本的gnuplot使用$就沒問題
完全google不到相關的資訊

我的系統是ubuntu 10.04
我用Synaptic下載gnuplot

--

All Comments

Queena avatarQueena2012-06-29
直接用using 1:2 呢?
Irma avatarIrma2012-07-02
對了忘記說 用using 1:2是可以的
Lily avatarLily2012-07-04
using ($1):($2)
Mary avatarMary2012-07-05
要用$n不知為何,只能用在"公式"裡面才會正常。
Doris avatarDoris2012-07-05
恩 我試過了 要用($1):($2)就可以了