Blame | Last modification | View Log | Download
cd 'C:\Documents and Settings\root'
set table '1.txt';
plot '1.avs' binary format='%4uint8' record=170x140 skip=8 using 2;
unset table;
#set output '1.png'
set terminal png
#set hidden3d;
#splot '1.txt' with lines;
#unset output;
set output '1.png';
#plot 'jesteslabsi.txt' every :::30::35 using 1:3;
f(x)=a*exp(-(x-x0)**2/(2*w**2));
a=200;
x0=25;
w=10;
fit f(x) '1.txt' every :::40::50 using 1:3 via a,x0,w;
plot f(x) w lines linewidth 3, 'jesteslabsi.txt' every :::40::50 using 1:3;
unset output;
clear;
set output 'slabejsi2.png';
fit f(x) 'jesteslabsi.txt' every ::35::40 using 2:3 via a,x0,w;
plot f(x) w lines linewidth 3, 'jesteslabsi.txt' every ::35::40 using 2:3;
unset output;