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


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

Re: Using using

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Using using
Date Fri, 23 Aug 2013 15:04:19 +0200
Organization A noiseless patient Spider
Lines 19
Message-ID <kv7mkj$s27$1@dont-email.me> (permalink)
References <kv56va$q32$1@dont-email.me> <kv5boi$q05$1@news.rz.uni-karlsruhe.de> <kv77pa$loj$1@dont-email.me> <kv7aml$3nt$1@dont-email.me> <kv7ivs$8tk$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 23 Aug 2013 13:04:19 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="d470e712b6ca6e5726f6f421815ac75a"; logging-data="28743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+a2777ZsGjO0K7rvJy7si"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12
In-Reply-To <kv7ivs$8tk$1@dont-email.me>
Cancel-Lock sha1:fd+S9OyRvQS497H1my34KgVOKxw=
Xref csiph.com comp.graphics.apps.gnuplot:2000

Show key headers only | View raw


Am 23.08.2013 14:02, schrieb Dieter Britz:
> On Fri, 23 Aug 2013 11:40:37 +0200, Christoph Bersch wrote:
>
>> If you call gnuplot from a shell you should use column(2).
>
> ?? I have been using this, e.g. "using 1:3" to override the
> default 1:2, for years, and never a problem. Or do you mean
> I must use that if I want to manipulate the values in a column?

Ok, I wasn't very specific:

If you want to manipulate the values in a column, you can use either 
column(3) or its shorthand $3. However, if you invoke gnuplot from a 
shell using heredocs (<<eoi), like in your example, the $3 is 
interpreted as a shell variable. You could of course escape the dollar 
sign, but IMHO the best way is to use column(3) in that case which makes 
you independent of the environment.

Christoph

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


Thread

Using using Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-22 14:24 +0000
  Re: Using using Karl <mail.kfr@gmx.net> - 2013-08-22 17:46 +0200
    Re: Using using Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-23 08:50 +0000
      Re: Using using Christoph Bersch <usenet@bersch.net> - 2013-08-23 11:40 +0200
        Re: Using using Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-23 12:02 +0000
          Re: Using using Dieter Britz <dieterhansbritz@gmail.com> - 2013-08-23 12:44 +0000
          Re: Using using Christoph Bersch <usenet@bersch.net> - 2013-08-23 15:04 +0200

csiph-web