Creating a Data Point Set and saving it into an XML file

Description

A 2d Data Point Set (x-y) is created, filled and saved in an XML file.

C++ program

Click to retrieve the C++ source code of the example and the corresponding textual output.

You can build the application typing :
scram b bin exa11

You can run the application typing (using bash shell):
eval `scram runtime -sh'
exa11

Program flow

  1. A 2-dimensional empty DataPointSet is created.
  2. Vectors of X-Y data, with corresponding errors, are generated
  3. The set is filled with the previous generated data.
  4. The DataPointSet is written to a compressed XML file.