# Fityk 1.1.2
### the minimal example

@0 < '_SCRIPT_DIR_/nacl01.dat'  # load data from file

a = (23.0 < x and x < 26.0)  # disactivate data outside of (23.0,26.0) range.

%p = Gaussian(~60000, ~24.6, ~0.2) # define function %p with type Gaussian
                                   # and fittable parameters 

F += %p  # add function %p to curve, which will be fitted to data

fit # and fit using default fitting method with default settings

info prop %p # show properties of the function

