Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2847

Re: What is wrong with my simple/short script?

Newsgroups comp.graphics.apps.gnuplot
Date 2015-03-29 11:03 -0700
References <d7fd3874-eea8-4994-b712-0c086a057542@w24g2000prd.googlegroups.com>
Message-ID <eebb4503-1689-4e8a-841d-e24a1b6233ee@googlegroups.com> (permalink)
Subject Re: What is wrong with my simple/short script?
From parsa.ar.1389@gmail.com

Show all headers | View raw


On Monday, January 26, 2009 at 10:39:38 PM UTC+3:30, Sally wrote:
> Hi,
> 
> This script has been working fine, and now all of sudden, it is giving
> me an error, and
> I don't seem to find the reason behind.
> 
> My script is :
> 
> set terminal jpeg
> set nokey
> set output "test.jpeg"
> set size 1.0, 1.0
> set xr [1.e-10:10]
> set logscale x 10; set xtics 10
> set yr [1e-6:1e-0]
> set logscale y 10; set ytics 10
> set xl "TIME in seconds"
> set yl "ABUNDANCE in Log"
> 
> set style line 1 lt 1 lc 1 lw 2 #red
> set style line 2 lt 1 lc 2 lw 2 #green
> set style line 3 lt 1 lc 3 lw 2 #blue
> 
> 
> plot \
>      "abun_time" every::5 u 4:1 w l ls 1,\
>      "abun_time" every::5 u 4:2 w l ls 2,\
>      "abun_time" every::5 u 4:3 w l ls 3
> 
> 
> And, I am getting the following error.
> 
> gnuplot> plot      "abun_time" every::5 u 4:1 w l ls 1,
> "abun_time" every::6 u 4:2 w l ls 2,\
>  
> ^
>          line 0: invalid character \
> 
> 
> gnuplot> "abun_time" every::5 u 4:3 w l ls 3
>          ^
>          line 0: invalid command
> 
> 
> Anyone any idea?
> 
> Thank you!


Dear Sally,

Thank you very very much for this solution. I was getting mad over this.

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar | Unroll thread


Thread

Re: What is wrong with my simple/short script? parsa.ar.1389@gmail.com - 2015-03-29 11:03 -0700

csiph-web