Author |
Topic |
|
ssavarmand
USA
Posts |
Posted - 11/12/2014 : 08:31:12 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): 9.1.0 Operating System: Win-7
Hi,
I have used the Polynomial Tool to draw a curved line on my plot. I try to adjust a point on it, but when I select the curve, I cannot show up the points to edit them (move them slightly, for example). My expectation comes from the option available in PowerPoint. In PP, once you plot such a curve, you can edit the points afterwards. Is there such option available in Origin?
Best regards, Saeid |
|
lkb0221
China
497 Posts |
Posted - 11/12/2014 : 11:59:20 AM
|
Hi, Saeid
Please right click the polyline you created and select Programming Control and remember the Object Name, which is in the upper left corner. By default, it should be Polyline, Ployline1, etc.
Then open script window and type and run the following cmd: Polyline.x1 = 1; Polyline.y1 = 1.5; Polyline.x2 = 3; Polyline.y2 = 4; This will put the 1st point on the polyline to corrdinate (1,1.5) and 2nd to (3,4). Use this syntax (ObjectName.x/y#) to specify each point as you want.
Zheng Origin |
|
|
ssavarmand
USA
Posts |
Posted - 11/12/2014 : 12:41:08 PM
|
Hi Zheng,
Thank you for your prompt response.
First, I am working on a Ternary plot. How the coordinates would be on this plot type? I added a line for "z" and it doesn't accept it.
Second, how can I redo the command. Because it didn't give me what I had in mind at first, so I need to adjust the coordinates.
I was hoping that there was an option that I could show the points and drag them on the plot. But the coordinate method works as well, maybe not that easily.
BR, Saeid |
|
|
lkb0221
China
497 Posts |
Posted - 11/12/2014 : 12:54:24 PM
|
Hi, Saeid
Ternary is still a 2D graph with constraint X+Y+Z=1 or 100. So there is no Z value support needed.
I suggest you use Draw Data tool instead of PolyLine, for what you are trying to implement. The button is in the same toolbar, above Text Tool. This tool will generate a real set of data in a worksheet so you can do further customization and direct change value form the worksheet.
Zheng OriginLab |
|
|
ssavarmand
USA
Posts |
Posted - 11/12/2014 : 1:25:20 PM
|
Hi Zheng,
Awesome! That is exactly what I wanted. Even much better than PP. This gives me accurate coordinates wherever I want.
Thank you so much! Saeid |
|
|
|
Topic |
|
|
|