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


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

Re: Plotting many curves?

Newsgroups comp.graphics.apps.gnuplot
Date 2017-09-12 06:25 -0700
References <81a289ce-bba5-424e-86ec-e24cc94d69a8@googlegroups.com> <op8f4g$cvm$1@dont-email.me>
Message-ID <dc2bb273-01b7-4888-83c4-81719b1ee90b@googlegroups.com> (permalink)
Subject Re: Plotting many curves?
From Cass Sackett <casackett@gmail.com>

Show all headers | View raw


On Tuesday, September 12, 2017 at 7:06:58 AM UTC-4, Jörg Buchholz wrote:
> On 11.09.2017 18:30, Cass Sackett wrote:
> > I'm trying to make a complicated plot with many individual curves, like
> > 
> > plot \
> >   x1(t), y1(t), \
> >   x2(t), y2(t), \
> >   x3(t), y3(t), \
> >   x4(t), y4(t), \
> >   x5(t), y5(t), \
> >   x6(t), y6(t), \
> >   x7(t), y7(t), \
> >   x8(t), y8(t), \
> > etc
> > 
> > After about 20 functions, it starts to generate errors. It looks like there is  a limit on the length of the command line? If that is my problem, is there any way to work around this?
> > 
> > Thanks!
> > 
> 
> No problem with:
> 
> set parametric
> plot [-10:10][-10:10][-10:10]\
> sin(t)/t,t ,\
> sin(t),cos(t) ,\
> t,sin(t)/t ,\
> sin(t)/t,cos(t)/t ,\
> t,log(t) ,\
> -t,log(t) ,\
> sin(t),t**2 ,\
> -sin(t),t**2 ,\
> tan(t),t, \
> t,tan(t),\
> -t,t ,\
> cos(t),cos(2*t) ,\
> 2*cos(t),sin(t) ,\
> -cosh(t),sinh(t),\
> (sin(t)/t)-5,t ,\
> (sin(t)/t)-4,t ,\
> (sin(t)/t)-3,t ,\
> (sin(t)/t)-2,t ,\
> (sin(t)/t)-1,t ,\
> (sin(t)/t)+1,t ,\
> (sin(t)/t)+2,t ,\
> (sin(t)/t)+3,t ,\
> (sin(t)/t)+4,t ,\
> (sin(t)/t)+5,t
> 
> Jörg

Well, I'm not sure what to say. Your example works, and this morning both my real script and my test script work too. They certainly didn't yesterday. I've quit and restart gnuplot since then, can't remember if I tried that before posting. I'll repost if I can recreate the problem. At any rate, thanks for looking into it.

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


Thread

Plotting many curves? Cass Sackett <casackett@gmail.com> - 2017-09-11 09:30 -0700
  Re: Plotting many curves? Cass Sackett <casackett@gmail.com> - 2017-09-11 09:38 -0700
    Re: Plotting many curves? Karl Ratzsch <mail.kfr@gmx.net> - 2017-09-11 23:16 +0200
    Re: Plotting many curves? Ethan A Merritt <EAMerritt@gmail.com> - 2017-09-12 18:30 -0700
      Re: Plotting many curves? Cass Sackett <casackett@gmail.com> - 2017-09-13 06:55 -0700
        Re: Plotting many curves? Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2017-09-13 22:46 +0200
  Re: Plotting many curves? Jörg Buchholz <bookwood4new@freenet.de> - 2017-09-12 13:06 +0200
    Re: Plotting many curves? Cass Sackett <casackett@gmail.com> - 2017-09-12 06:25 -0700
      Re: Plotting many curves? Jörg Buchholz <bookwood4new@freenet.de> - 2017-09-13 09:09 +0200

csiph-web