|
From: <she...@be...> - 2010-05-20 17:38:06
|
Hi Thomas A file would look something like this 19 27 22 43 67 70 12 76 19 102 43 78 93 23 67 9 28 56 Actually this pattern of two numbers on a line followed by a matrix of data would repeat throughout a larger file. What I need is to plot the matrix of data as a 2D image and label that image according to the two numbers contained on the line that precedes the matrix data. However I could change the format if it would help me achieve this. Thanks again for your help. > > do a dummy plot to read the data in and assign the values to > the variables inside the 'using' option. > > for more details please post information about how your data > file looks like. > > > SHELTRAW, DANIEL wrote: >> >> Hi Gnuploteers >> >> I would like to be able to read a set of numbers contained at the >> beginning >> of a file and store the values in variables used in a GnuPlot script. >> Can >> this be done? If yes then how? >> >> Thanks again! >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> > > -- > View this message in context: > http://old.nabble.com/reading-file-data-into-variables-tp28614622p28620101.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |