Hi,
"Legend" object controls the properties of all legend entries rather than individual ones.
You can only set the text color for each legend entry through substitution notation as following:
layer -gu;
layer1.plot = 1; //Activate the first plot in layer1
set %C -c color(blue);
layer1.plot = 2; //Activate the second plot in layer1
set %C -c color(cyan);
legend.fsize = 28; // Set Legend entry text size
Legend.text$="\l(1) \c4(%(1))"+ char(10)$+"\l(2) \c5(%(2))"; // Set legend entry color
where syntax \cColor Index is used to color each legend entry.
You can use color(blue)=; to check the color index of color blue. \c4() is to color as blue, \c5() is to color entry as cyan.
Legend entry color to follow data plot color is a feature will be implemented in our next release Origin 2016.
Regards!
Sean
OriginLab Tech. Service