Author |
Topic  |
|
nsilvia
Switzerland
1 Posts |
Posted - 07/20/2018 : 07:51:27 AM
|
Hi everybody.
I have a dataset with two curves. For both curves I would like to dra w a line at the corresponding x value for y=0.5. However, when I just use the command draw a straight line, the line will span through the entire y axis. To make it more cleare, I would like to have something like this on my plot

How can I do it?
Thanks a lot for your help!
Silvia |
|
Hideo Fujii
USA
1582 Posts |
Posted - 07/20/2018 : 10:13:02 AM
|
Hi Silvia,
You can add drop lines in both vertical and horizontal orientations from your desired data points from "Drop Lines" tab in Plot Details dialog. If there is already a data point at the X location, you can simply create a "special point" there (CTRL+double-click or slow-double-click+double-click), then set the drop lines option.
If there is no data point at the X location, first run "Analysis> Math> Inter/Extrapolate Y from X" to get the wanted data points, and add the scatter plot this to the current plot. You can show the drop lines of this added scatter.

Is this what you were looking for?
--Hideo Fujii OriginLab |
Edited by - Hideo Fujii on 07/20/2018 10:24:34 AM |
 |
|
arstern
USA
237 Posts |
Posted - 07/20/2018 : 10:30:41 AM
|
Hi,
You can also use the script window so specify the line coordinates:

-c specifies the color -w specifies the line width -d specifies the type of line (dash, solid, dotted) then you input {X1,Y1,X2,Y2}
See documentation: https://www.originlab.com/doc/LabTalk/ref/Draw-cmd
Aviel Technical Support OriginLab |
 |
|
|
Topic  |
|
|
|