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


Groups > comp.graphics.apps.gnuplot > #2827 > unrolled thread

Column number expected

Started byMichael Okuntsov <proximum@land.ru>
First post2015-03-19 18:52 +0600
Last post2015-03-19 15:07 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Column number expected Michael Okuntsov <proximum@land.ru> - 2015-03-19 18:52 +0600
    Re: Column number expected Karl <mail.kfr@gmx.net> - 2015-03-19 15:07 +0100

#2827 — Column number expected

FromMichael Okuntsov <proximum@land.ru>
Date2015-03-19 18:52 +0600
SubjectColumn number expected
Message-ID<meegpb$hp8$1@dont-email.me>
Hello,

what's wrong with this:

plot [1e3:] for [i=2:7] "v1.csv" u 1:(log10($i/0.01)) w lp
                                             ^
Column number expected

[toc] | [next] | [standalone]


#2828

FromKarl <mail.kfr@gmx.net>
Date2015-03-19 15:07 +0100
Message-ID<meel76$jcc$1@news.rz.uni-karlsruhe.de>
In reply to#2827
Am 19.03.2015 um 13:52 schrieb Michael Okuntsov:
> Hello,
> 
> what's wrong with this:
> 
> plot [1e3:] for [i=2:7] "v1.csv" u 1:(log10($i/0.01)) w lp
>                                             ^
> Column number expected

Make it

plot [1e3:] for [i=2:7] "v1.csv" u 1:(log10(column(i)/0.01)) w lp

the "$n" shortcut does not work with variables.

  Karl

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web