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

Table of Contents

幫翻譯:

On Jun 27, 5:14 pm, [email protected] (tim845487) wrote:
> 大家用gnuplot有遇過這個問題嗎
> 我的gnuplot using $1:$2 這個部分竟然不能用
> ex:
> plot 'data.txt' using $1:$2

要不要試試看

plot 'data.txt' using 1:2



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