clear all;

x = 1:10;
c1 = xydata(x, randn(size(x)));

xmlfile = 'xydata.xml';
save(c1, xmlfile);

% load
c2 = xydata(xmlfile);

if c1 ~= c2
  error('### xydatas are not the same')
end
