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


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

Re: Using using

From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Using using
Date 2013-08-23 15:04 +0200
Organization A noiseless patient Spider
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>

Show all headers | 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