2010-06-11 5 views
1

gnuplot을 사용하여 몇 줄을 그려보고 있지만 각기 다른 x 범위를 사용하고 있습니다. 나는 다음과 같은 스크립트를 실행하고 있습니다 :gnuplot - 다른 x 범위를 가진 여러 줄

# gnuplot script for 'omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat' 
plot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:2 with lines title '1' 
replot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:3 with lines title '2' 
replot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:4 with lines title '3' 
replot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:5 with lines title '4' 
replot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:6 with lines title '5' 
replot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:7 with lines title '6' 
replot "omarConf2EvONLY-vs-everyone-gta-lag-lpas-omarConf1-random-tag-tpas.dat" using 1:8 with lines title '7' 

set terminal png size 800,600 
set output "omar_vs_everyone-EVONLY.png" 
replot 

을하고있는 .dat 파일은 다음과 같은 열이 단지 파일입니다 각 행이 다른 X 범위를 가지고 같은 열이 서로 다른 길이를 가지고

1 0.5 0.5 0.1 
2 0.6 1.3 0.8 
3 0.7 0.32 
4 0.7 0.35 
5 1.3 4.32 
6 1.67 

사항.

그래서 같은 데이터에서 패드은 마침표에 배치하여 DAT 파일을 편집해야합니다 alt text http://img192.imageshack.us/img192/4686/gnuplotfail.png

+0

데이터 파일의 실수 인 것처럼 보입니다. 플로팅 지침이 아닙니다. – Svante

+0

아무 것도 그 지점을 넘어서 그려지지 않을 경우의 가치는 무엇입니까? – Aly

답변

5

확인 유무는 답을 발견

내가 가진 문제는 아래와 같이 재미 플롯이다 :

1 0.5 0.5 0.1 
2 0.6 1.3 0.8 
3 0.7 0.32 . 
4 0.7 0.35 . 
5 1.3 4.32 . 
6 1.67 . .