from Spectr-O-Matic by Petar Lambrev
Toolbox for analysis of spectroscopic data. Version 1.06

SmoothPlot.m
% Plotting smooth curves example

clear; close all;

% load data
Abs = SpecData.load('abswt.txt');

% bin every 30 points
Abs = Abs.bin(50);

% plot binned data
Abs.plot('Marker','o');

% plot data using smoothing
Abs.plot('SmoothLine','Color','r');

legend('binned', 'smooth');

Contact us