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
 Plot Line with a specific slope

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
sean9898 Posted - 03/18/2013 : 09:41:39 AM
Origin Ver. 9.0 and Service Release 1 (Select Help-->About Origin):
Operating System: Windows 7

Is it possible to automatically create a line with a specific slope in origin? For example, I have a velocity graph that I want to have a line with a slope of 300 mm/sec run through it, how would I do this?

Thanks!
4   L A T E S T    R E P L I E S    (Newest First)
matthew@originlab.com Posted - 03/18/2013 : 1:14:32 PM
Hi,

I just wanted to show you one other option for this:

With your graph open as the active window, go to File > New > Function Plot > 2D Function Plot..., then you can enter a general expression for a line (in your case 300*x) and specify a range for the line, and it will plot to your graph.

Matthew
OriginLab
matthew@originlab.com Posted - 03/18/2013 : 10:38:09 AM
It is a variable which represents the row number or row index. Alternatively you could select a column containing your X-data. So if, for example, your X-data was in column A, you could use 300*Col(A).

Matthew
OriginLab
sean9898 Posted - 03/18/2013 : 10:28:52 AM
What is [i] in 300*[i]?
matthew@originlab.com Posted - 03/18/2013 : 10:17:43 AM
Hi,

One way to do this would be to:

1. Add a new column to your worksheet of data

2. Right click on the column and select "Set Column Values..."

3. Insert 300*[i] into the text box, and hit OK

--> The column should fill with values which are 300 times the row number

4. If the column is a Y column (ie. A(Y), B(Y), etc.) you should be able to select the entire column, and hover your mouse along the edge of the column selection, and see a graph icon next to your mouse, you can then just click and drag the data into your graph, and it should add the line.

Matthew
OriginLab

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