Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ethan A Merritt Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Plotting data array as variable (not in files) Date: Tue, 06 Sep 2016 15:22:47 -0700 Organization: gnuplot development Lines: 20 Message-ID: References: <5317823c-925c-4d7a-8d21-2fcf7e370a94@th5g2000pbc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Tue, 6 Sep 2016 22:22:49 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9efaabac4d441392286468b36d8b6ca4"; logging-data="13745"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZHj0b2l9yoB4lHdjobKBR" User-Agent: KNode/4.14.5 Cancel-Lock: sha1:HeIz2PTQzXc7P1PiTvrZnLPILDU= Xref: csiph.com comp.graphics.apps.gnuplot:3389 xlrotor@gmail.com wrote: > Absolutely brilliant! > > I just used it to get contour labels on a contour plot of a nonuniform > matrix data file. I was about ready to give up on this. > > Here's the gist of it. > X="0.1 0.2 0.3 0.4 0.5" > Y="-1 0 2 4 8" > set multiplot > splot 'dfile' matrix u (0+word(X,int($1+1))):(0+word(Y,int($2+1))):3 with lines > splot 'dfile' matrix u (0+word(X,int($1+1))):(0+word(Y,int($2+1))):3 with labels I do not see anything here that would require multiplot. Have you looked at the on line demos for contouring nonuniform data? http://gnuplot.sourceforge.net/demo_cvs/scatter.html