Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
851 kaklik 1
cd 'C:\Documents and Settings\root' 
2
 
3
set table '1.txt';
4
plot '1.avs' binary format='%4uint8' record=170x140 skip=8 using 2;
5
unset table;
6
 
7
#set output '1.png'
8
set terminal png
9
#set hidden3d;
10
#splot '1.txt' with lines;
11
#unset output;
12
set output '1.png';
13
#plot 'jesteslabsi.txt' every :::30::35 using 1:3;
14
f(x)=a*exp(-(x-x0)**2/(2*w**2));
15
a=200;
16
x0=25;
17
w=10;
18
fit f(x) '1.txt' every :::40::50 using 1:3 via a,x0,w;
19
plot f(x) w lines linewidth 3, 'jesteslabsi.txt' every :::40::50 using 1:3;
20
unset output;
21
clear;
22
set output 'slabejsi2.png';
23
fit f(x) 'jesteslabsi.txt' every ::35::40 using 2:3 via a,x0,w;
24
plot f(x) w lines linewidth 3, 'jesteslabsi.txt' every ::35::40 using 2:3;
25
unset output;