Origin Version (Select Help-->About Origin): 6.0 Operating System: xP
Hi, im trying to add into an existing script just the part to change the thickness of a scatterplot from 9 to 3, and changing the color of the data plotted through a line plot on layer.Y2 of an arbitrary graph. Is there a command or object referrence that could do these simple things?
set name -z 3; // set symbol size to 3 points set name -c 2; // set line & symbol color: 1=black, 2=red, 3=green, etc. set name -cl 2; // set line color set name -cse 2; // set symbol edge color set name -csf 2; // set symbol fill color
name is the name of the dataset you want to change. If the layer has only one curve you can use %C, which always holds the name of the active dataset. Otherwise you can use %(n, @D) to change the nth dataset listed at the bottom of the Data menu.
Is there a possibility to change the "borderwidth", too? I hope that's the right translation from the german word "Randbreite".
With "borderwidth" I mean the third parameter, You can change in the dataset-box. The other two are size and color. "borderwidth" is normally on standard.
I can't find a LabTalk control for this parameter but you can do it in OriginC. Add the following function to Codebuilder's workspace as described here and call it from LabTalk like this: SetSymbolEdgeWidth value where value varies from 0 to 255 (default).