Author |
Topic |
|
Mohamedb
Algeria
3 Posts |
Posted - 02/16/2014 : 5:22:32 PM
|
Hi everybody, How to draw a straight line manually in Origin8 to separate two zones on an existing graph. |
|
Mohamedb
Algeria
3 Posts |
Posted - 02/17/2014 : 4:24:50 PM
|
Thanks Christyli, I w'd like to separate two particular zones on the graph in order to put comments corresponding to each part. I cannot do that using the line button of the tools toolbar (in the left side of the screen) because the line is drawn but cannot be selected and it will vanished quickly. Thanks for answering me. |
|
|
greg
USA
1378 Posts |
Posted - 02/17/2014 : 4:51:47 PM
|
With a graph active, type this in the Command Window: draw -l -v 10 and press Enter. Replace the 10 with the value on the X axis where you want the (vertical) line drawn. Or use: draw -l -h 1 and press Enter to draw a horizontal line at Y = 1. Double click the line to edit properties, make it moveable, etc. |
|
|
Mohamedb
Algeria
3 Posts |
Posted - 02/18/2014 : 03:47:02 AM
|
quote: Originally posted by greg
With a graph active, type this in the Command Window: draw -l -v 10 and press Enter. Replace the 10 with the value on the X axis where you want the (vertical) line drawn. Or use: draw -l -h 1 and press Enter to draw a horizontal line at Y = 1. Double click the line to edit properties, make it moveable, etc.
Thanks greg I followed exactly the steps above but it didn't work! |
|
|
greg
USA
1378 Posts |
Posted - 02/18/2014 : 08:56:06 AM
|
A graph window must be the active window ...
Try this: draw -L -V (Y1+Y2)/2 Copy and paste that line to the Script or Command Window and press Enter.
|
|
|
snowli
USA
1385 Posts |
Posted - 02/18/2014 : 10:27:05 AM
|
BTW, in later versions, we have added Graph: Add Straight Line....
User can easily add Vertical or Horizontal straight line in the graph with options such as Show the position value together with the line . Moving it, the position value changes.
Thanks, Snow
|
|
|
|
Topic |
|