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


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

Change sign in column with calculated number

From Michael Okuntsov <okuntsov.mikhail@yandex.ru>
Newsgroups comp.graphics.apps.gnuplot
Subject Change sign in column with calculated number
Date 2016-11-22 17:28 +0700
Organization A noiseless patient Spider
Message-ID <o116jh$c19$1@dont-email.me> (permalink)

Show all headers | View raw


Hello,
my gnuplot script is generated by another script written in perl. I want 
to change the sign of plotted values in this plot command:

plot [][] for [i=1:11] 'tests.dat' every :::10::10 using 1:i+1 lt i+2 lw 
6 w linesp

I've tried to change "using 1:i+1" to 1:(-$(i+1)), 1:$(-$(i+1)) etc, but 
it does not work. How can this be done?

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


Thread

Change sign in column with calculated number Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-22 17:28 +0700
  Re: Change sign in column with calculated number Michael Okuntsov <okuntsov.mikhail@yandex.ru> - 2016-11-22 18:04 +0700

csiph-web