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


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

Re: Complex constant error

Newsgroups comp.graphics.apps.gnuplot
Date 2014-04-04 11:37 -0700
References <338e9a22-ea14-4dae-8de1-1975550b4bb2@googlegroups.com>
Message-ID <17e4434a-fe54-4e08-b8e2-7731cdcd59f0@googlegroups.com> (permalink)
Subject Re: Complex constant error
From Ramon Yll Prous <ryllprous@gmail.com>

Show all headers | View raw


El dimecres 2 d'abril de 2014 10:01:23 UTC-7, Ramon Yll Prous va escriure:
> I'm trying to plot several graphs together using a script. A part of it says:
> 
> 
> 
> do for [x=1:5]{
> 
> 	#set output 'plots/polarization-mixture-isoX'.word(xH2,x).'.tex'
> 
> 	set title "$x_{H_2} = ".word(xH2,x)."\% x_{CO} = ".word(xCO,x)."\%$"
> 
> 	plot for [t=1:3] 'results/'.word(xH2,x).'H2-'.word(xCO,x).'CO-'.word(T,t).'/polarization.csv'\
> 
> 		using ($1-word(Ec,t)):(abs($3)) with lines ls  t title "$T = ".word(T,t)."^\\circ$C"
> 
> }
> 
> 
> 
> 
> 
> and I get this error from the terminal:
> 
> 
> 
> ryllprous@ryllprous-OptiPlex-790:~/Ramon3/PA-SOFC$ gnuplot multiplot-polarization
> 
> 
> 
> do for [x=1:5]{
> 
>               ^
> 
> "multiplot-polarization", line 59: invalid complex constant
> 
> 
> 
> 
> 
> Can anyone help me? What should I do? I know it should work because I'm not the first who uses this script.
> 
> 
> 
> Thank you,
> 
> 
> 
> Ramon
> 
> 
> 
> 
> 
> P.S.: I'm using ubuntu 12.04 and gnuplot 4.4.3

Thanks Karl, no with gnuplot 4.6.5 works :)


Have a good day,

Ramon

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


Thread

Complex constant error Ramon Yll Prous <ryllprous@gmail.com> - 2014-04-02 10:01 -0700
  Re: Complex constant error Ramon Yll Prous <ryllprous@gmail.com> - 2014-04-02 10:51 -0700
  Re: Complex constant error Karl <mail.kfr@gmx.net> - 2014-04-02 21:25 +0200
  Re: Complex constant error Ramon Yll Prous <ryllprous@gmail.com> - 2014-04-04 11:37 -0700

csiph-web