From: Thomas Sefzick <t.sefzick@fz...> - 2009-07-25 13:55:31
your data file is not in 'matrix' format, see:
'splot' without the 'matrix' keyword and see how
far you get.
have a look at the section in the manual dealing
> I'm using gnuplot to create a color plot matrix of data that I have
> calculated and stored in a plain text file. For each (x,y) coordinate in a
> given urban area, I wish to plot a value for wireless signal strength that
> has been calculated at that point. The input file has six columns, and I
> can't change the format. I want to use column 2 as my x-value, column 3 as
> my y-value, and column 6 as my signal strength. A typical input file has
> around 1000 lines. Here's a sample of what the input file looks like:
> 1 7.925366e+002 0.000000e+000 2.000000e+000 1.095303e+003
> 2 8.425366e+002 0.000000e+000 2.000000e+000 1.132009e+003
> 3 8.925366e+002 0.000000e+000 2.000000e+000 1.169700e+003
> Here's what I'm doing in gnuplot:
> set view map
> set pm3d map
> splot "input_file.txt" matrix using 2:3:6 with pm3d
> At this point, gnuplot reports "All points x value undefined". I also
> tried using columns 1:2:5 in case gnuplot is 0-based when it deals with
> columns; that didn't work either. I tried changing line endings as well,
> and that didn't seem to work.
> Any suggestions on how I can get this up and running? Thanks!
View this message in context: http://www.nabble.com/Creating-matrix-with-pm3d-from-file-tp24647461p24658149.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.