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


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

Re: Plotting data array as variable (not in files)

From Ethan A Merritt <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Plotting data array as variable (not in files)
Date 2016-09-06 15:22 -0700
Organization gnuplot development
Message-ID <nqnfjp$ddh$1@dont-email.me> (permalink)
References <5317823c-925c-4d7a-8d21-2fcf7e370a94@th5g2000pbc.googlegroups.com> <Pine.LNX.4.64.1203131659380.10073@monoceros.physics.muni.cz> <cba7e996-9eaf-4604-a383-f8b103c2f74e@googlegroups.com>

Show all headers | View raw


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

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


Thread

Re: Plotting data array as variable (not in files) xlrotor@gmail.com - 2016-09-06 14:11 -0700
  Re: Plotting data array as variable (not in files) Ethan A Merritt <sfeam@users.sourceforge.net> - 2016-09-06 15:22 -0700
    Re: Plotting data array as variable (not in files) xlrotor@gmail.com - 2016-09-07 12:33 -0700

csiph-web