How to print input file next to graph in gnuplot? -
is possible gnuplot print data plotted next graph?
if have text file input.txt:
#x y 1 2 2 5 3 6 4 7 and plot 'input.txt' i'd have plotted usual , next plot i'd have table printed. possible?
note: i'm on windows , i'd format output.
sure can. simplest way in gnuplot read in file calling external command (cat on *nix, not sure on windows) , storing output variable, setting label on graph. here how it:
set rmargin 8 datas = system('cat data.dat') print datas set label datas @ graph 1.1,0.7 plot 'data.dat' notitle this puts data file off side, in place of key.

Comments
Post a Comment