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 'jesteslabsi.txt';
4
#plot 'jesteslabsi.avs' binary format='%4uint8' record=100x100 skip=8 using 2;
5
#unset table;
6
 
7
#set output 'slabsi.png'
8
set terminal png
9
#set hidden3d;
10
#splot 'jesteslabsi.txt' with lines;
11
#unset output;
12
set output 'slabejsi.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) 'jesteslabsi.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;