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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Reference line between two values
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Lenam

Portugal
4 Posts

Posted - 02/25/2024 :  11:04:35 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello, I'm new to graphing using Origin and I'm having some issues using Reference Lines, namely plotting the Reference Line only between selected values. For example, I want to plot a line at y = 0.9 but instead of plotting it along the whole x axis range (see image), I want it only to be plotted between y = 8.0 and y = 7.5 .



I've done by best to solve this issues but but can't find a solution anywhere, apologies in advance if this question has been answered before.

aplotnikov

Germany
160 Posts

Posted - 02/26/2024 :  04:12:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
(I'll try to use my Crystal Ball...)
Assuming x (not y) should be within the 7.5...8.0 range:

draw -n lnRef -c 1 -w 1.5 -l {7.5, 0.9, 8.0, 0.9}


https://www.originlab.com/doc/LabTalk/ref/Draw-cmd#Draw_Lines_Syntax:
Go to Top of Page

Lenam

Portugal
4 Posts

Posted - 02/26/2024 :  06:04:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It worked! Thank you very much!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000