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


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

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

Newsgroups comp.graphics.apps.gnuplot
Date 2014-06-11 04:45 -0700
References <d7fd3874-eea8-4994-b712-0c086a057542@w24g2000prd.googlegroups.com> <839d6b36-5f48-455e-a022-b7b6ab7a401d@r36g2000prf.googlegroups.com>
Message-ID <9dbef7f3-8cb1-4958-be95-931356a3200f@googlegroups.com> (permalink)
Subject Re: What is wrong with my simple/short script?
From leili.gharaee@gmail.com

Show all headers | View raw


On Monday, January 26, 2009 9:39:01 PM UTC+1, Sally wrote:
> On Jan 26, 1:09 pm, Sally <adisn...@hotmail.com> 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!
> 
> Never mind.
> I figured out.
> There shouldn't be no blank space after "backslash".
> Who would've known..(maybe it's just me.)

Hi Sally,

Thanks for the solution!
I was stuck with this issue several times :-)

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


Thread

Re: What is wrong with my simple/short script? leili.gharaee@gmail.com - 2014-06-11 04:45 -0700

csiph-web