The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Adding lines to highlight x value at certain y

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
nsilvia 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
2   L A T E S T    R E P L I E S    (Newest First)
arstern 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
Hideo Fujii 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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000