T O P I C R E V I E W |
PatriciaN |
Posted - 04/30/2018 : 09:46:38 AM Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2018 (64 bit) b9.5.0.193 (Academic) Operating System: Windows 10 Pro (64 bit)
The problem: I want to draw a vertical line with specific dimensions (x and y) on my 2D graph. The problem is that if I use option: [Graph -> Add Straight Line ...] I can only specify the x-coordinate but I can not specify the y-coordinate (which is simply the length of this line). How to do this? PS: The image presents the result which I want to achieve: I want a black graph of data (already done) and additional red lines in exact positions with exact height.
Thank you
https://my.originlab.com/ftp/forum_and_kbase/Images/Graph.pdf |
2 L A T E S T R E P L I E S (Newest First) |
PatriciaN |
Posted - 04/30/2018 : 11:38:24 AM Thank you. That was exactly what I needed. |
arstern |
Posted - 04/30/2018 : 11:01:22 AM Hi,
I believe the only way to easily do this is to use the Script Window. To open the script window Select the Window Menu and Select Scrip Window. The Script Window dialog will appear.
Then input: draw -d 0 -l {x1, y1, x2, y2};
And Select Enter
Here is the documentation on drawing a line on a graph: https://www.originlab.com/doc/LabTalk/ref/Draw-cmd
Thanks Aviel OriginLab |