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


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

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

Newsgroups comp.graphics.apps.gnuplot
Date 2014-10-03 01:19 -0700
References <d7fd3874-eea8-4994-b712-0c086a057542@w24g2000prd.googlegroups.com> <839d6b36-5f48-455e-a022-b7b6ab7a401d@r36g2000prf.googlegroups.com>
Message-ID <131fea59-448d-4b15-b6c2-edb254af60db@googlegroups.com> (permalink)
Subject Re: What is wrong with my simple/short script?
From vincent.huber@gmail.com

Show all headers | View raw


You saved my day.

Le lundi 26 janvier 2009 21:39:01 UTC+1, Sally a écrit :
> 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.)

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


Thread

Re: What is wrong with my simple/short script? vincent.huber@gmail.com - 2014-10-03 01:19 -0700

csiph-web