Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: plot '-' Followup-To: comp.graphics.apps.gnuplot Date: Fri, 11 May 2012 12:05:38 -0700 Organization: gnuplot development team Lines: 34 Message-ID: References: Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Date: Fri, 11 May 2012 19:05:39 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="13856"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q3UB4DgHjfb+TGvzvkPl+" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:Wnggykn6zpvG0Rq0ajkBYw/XN5Q= Xref: csiph.com comp.graphics.apps.gnuplot:1089 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