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
 Can We Animate??

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
psafier Posted - 08/07/2003 : 11:50:47 AM
Hello,

Does anyone know how to animate a set of data in the form C=C(X,t)?
I would like to animate a plot of C vs. X for various values of time,t. Thanks

Paul

Edited by - psafier on 08/07/2003 1:12:22 PM
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 08/07/2003 : 1:43:40 PM
Yes, you can. Here is an example on how to do it, assuming that you can write a little bit of LabTalk.
We will use column formula to specify the function, so the LabTalk code below can be reuse.

1. Create worksheet and put your X values into col(1), for example fill it with 1-100
2. Enter a column formualr into col(2), for example
sin(col(1) * a)
so we will use variable a as our parameter.
3. Plot col(2) into a line plot
4. run the following labTalk script, when the graph is the active window.

set %C -an 1;loop(i,1,100) {a=i/10;plot -v;plot -L;run -wu data1;plot -L;sec -p 0.1};

Here we assumes the following, so you can easily change.
1. The data is in a worksheet called Data1.
2. The parameter is labtalk variable A

Hope this helps.

CP





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