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 for Programming
 Forum for Origin C
 "select range from graph" in origin c

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
bbjjbb Posted - 07/18/2009 : 5:15:37 PM
hey guys!
is it possible to use "select range from graph" in the nlfit with origin c?
2   L A T E S T    R E P L I E S    (Newest First)
bbjjbb Posted - 07/20/2009 : 04:27:02 AM
Thanks a lot!
Iris_Bai Posted - 07/19/2009 : 11:54:44 PM
You can implement this by X-Funciton:

1. Open X-Function Builder by F10.

2. Enter the following and save
X-Function edit box: SelRange
Name: xy
Input/Output: Input
Data Type: XYRange
Data: <active>

3. Click Edit X-Function in Code Builder button on toolbar, and copy the following codes in SelRange function.
vector vx, vy;
xy.GetData(vy, vx);

vx += 1;
vy += 10;

xy.SetData(&vy, &vx);

4. Click Compile button and then click Return to Dialog button.

5. Click Save button on X-Function Builder again. Close X-Function Builder.

New a worksheet, fill Row Number to two columns and plot a scatter graph. Run "SelRange -d" in Command window, will open a dialog to choose a range on plot.


Iris

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