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


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

Re: plot '-'

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: plot '-'
Followup-To comp.graphics.apps.gnuplot
Date 2012-05-11 12:05 -0700
Organization gnuplot development team
Message-ID <jojnu2$dh0$1@dont-email.me> (permalink)
References <joikvl$rkq$1@dont-email.me>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Michael wrote:

> Hello
> 
> Is it legal, or I should use data files?

It would be legal if 
(a) you terminate the in-line data block with a line starting with 'E'
(b) you repeat the data block 11 times.

Probably better to put it in a data file.



> 
> elements='1 2 3 4 5 6 7 8 9 10 11'
> plot [][-1335.93333333333:21374.9333333333] for [i=1:11] '-' using 1:i+1
> lt i+2 lw 6 t word(elements,i) w linesp,0 w lines lw 7 lt 1 t 'Допуск',3
> w lines lw 7 lt 1 notitle
> 0.1	0.014	0.012	0.012	0.013	0.012	0.012	0.012	0.011	0.012	0.012	0.016
> 6.185	0.013	0.012	0.012	0.011	0.011	0.011	0.011	0.01	0.011	0.011	0.016
> 9.987	0.013	0.013	0.013	0.012	0.013	0.011	0.012	0.011	0.012	0.012	0.015
> 13.72	0.013	0.012	0.012	0.012	0.011	0.011	0.014	0.012	0.012	0.012	0.014
> 20.568	0.011	0.011	0.01	0.01	0.011	0.012	0.064	0.014	0.012	0.01	0.012
> 28.159	0.013	0.011	0.011	0.01	0.018	0.074	2.198	0.136	0.066	0.017	0.012
> 43.683	0.119	0.043	0.067	0.047	0.363	13.431	507.927	13.467	13.689	0.897
> 0.012
> 54.807	0.793	0.238	0.415	0.273	1.63	173.607	7277	149.688	203.379	15.524
> 0.014
> 67.299	4.282	1.648	2.228	1.79	11.625	1887	20039	900.514	2485	160.298	0.014
> 83.606	24.295	9.055	16.132	10.408	43.799	20039	20039	20039	20039	11798
> 0.012
> 
> Michael

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


Thread

plot '-' Michael <proximum@land.ru> - 2012-05-11 16:09 +0600
  Re: plot '-' sfeam <sfeam@users.sourceforge.net> - 2012-05-11 12:05 -0700

csiph-web