Hi Matthias,
You can use code such as posted below, where I am getting the properties of the first dataplot in active layer into a tree object. You can then change the tree branch values and set the tree back to apply the changes. Or once you know what properties are available for a data plot, you can also directly set them as shown in the last line of the code.
Easwar
OriginLab
void test()
{
// Declare active layer as a graph layer and check validity
GraphLayer gly = Project.ActiveLayer();
if( !gly ) return;
// Point to the first data plot in layer and check validity
DataPlot dp = gly.DataPlots( 0 );
if( !dp ) return;
// Get the format properties of the data plot into a tree
Tree trFormat;
trFormat = dp.Curve;
// Dump the tree to script window to see what you have access to
out_tree( trFormat );
// You can then make changes to the tree and set it back to apply the changes
trFormat.Symbol.Size.nVal = 12;
dp.Curve = trFormat;
// Or, once you know what is available by looking at the tree dump,
// you can also set the properties directly without using the tree
dp.Curve.Symbol.Shape.nVal = 3;
}