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


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

Re: plot from many files, with different options

Newsgroups comp.graphics.apps.gnuplot
Date 2014-07-14 02:46 -0700
References <eb75ec33-05bb-4315-9855-8fcd19909fd8@googlegroups.com>
Message-ID <fa76df77-e694-4d48-afe2-60b574ab704e@googlegroups.com> (permalink)
Subject Re: plot from many files, with different options
From Björn Lundin <b.f.lundin@gmail.com>

Show all headers | View raw


Den söndagen den 13:e juli 2014 kl. 13:53:05 UTC+2 skrev Björn Lundin:
> So I tried
> 
> plot for [w in winners] w using 1:4 with lines linetype 4 linecolor rgb 'green' title "Winner",
> 
>      for [p in placed]  p using 1:4 with lines linetype 4 linecolor rgb 'blue' title "Placed", 
> 
>      for [l in losers]  l using 1:4 with lines linetype 2 linecolor rgb 'red' title "Loser"
> 

Ok, to answer to my own post, I did forgot then line continuation marker
at the end of the lines

plot for [w in winners] w using 1:4 with lines linetype 4 linecolor rgb 'green' title "Winner", \
     for [p in placed]  p using 1:4 with lines linetype 4 linecolor rgb 'blue' title "Placed", \
     for [l in losers]  l using 1:4 with lines linetype 2 linecolor rgb 'red' title "Loser"

works as I want

--
/Björn

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


Thread

plot from many files, with different options Björn Lundin <b.f.lundin@gmail.com> - 2014-07-13 04:53 -0700
  Re: plot from many files, with different options Björn Lundin <b.f.lundin@gmail.com> - 2014-07-14 02:46 -0700

csiph-web