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
 LabTalk Forum
 Animation

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
mej Posted - 01/28/2004 : 1:06:26 PM
Hello
Can everybody show me how to do an animation with origin
(with an exemple). I have Origin 6.1 Pro
Thanks
5   L A T E S T    R E P L I E S    (Newest First)
amorris Posted - 02/22/2006 : 4:27:34 PM
I'm pretty much the same thing right now, and I've found the most useful little application called gifsicle. You can get it here: http://www.lcdf.org/gifsicle/. If you look closely, there's a link to a windows executable (2nd from the top under the header "pre-built binaries".

Here are the steps to pain-free animations with origin-gifsicle:

1) Download gifsicle, and put it in a folder that's in your path, such as c:\windows\system32
2) Export all your graphs as gif files. To make things easier afterwards, I suggest naming you files with a suffix that depends on the number of files you have. For example if you have less than 89999 files, use: anim10000.gif, anim10001.gif, anim10002.gif, etc. If you only have 89 files or less, you can use anim10.gif, anim11.gif, etc. This ensures that gifsicle will combine the files in the right order.

You can use greg's nice script to do this, just change the initial count variable to 10, 100, or whatever suits your needs.

3) Open up a command prompt, go to the folder where you exported your gif files from origin.

4) type "gifsicle anim*.gif > animation.gif " . This will merge all your anim*.gif files into one animated gif file called animation.gif. Gifsicle has lot's of options, just type gifsicle -h for more info.

5) that's all! You can view your animated gif with your internet browser or media player.


I hope that this helps!
Hideo Fujii Posted - 02/14/2006 : 10:33:26 AM
Hi,

Now there is an animation tool, called "OAnimator" in the File Exchange site:
  http://www.originlab.com/fileexchange/details.aspx?fid=122

greg Posted - 02/09/2004 : 1:12:02 PM
You can use the following script which will prompt you for a path and base filename and file type and then export all graphs in your project (in creation order) to enumerated files. For example:
TEST1.GIF
TEST2.GIF
etc.

// BEGIN SCRIPT
image.ShowOptions = 0;
fdlog.usegroup(image);
image.GetExtList(z,em);
image.usetype(%Z);
fdlog.DEFAULT $="Animate";
fdlog.DLGNAME $= Save Location and base filename;
fdlog.saveas(A);
%B=fdlog.path$;
%M = %[%A,>'.'];
%N = %[%A,'.'];
%A = %B%N;
count = 1;
doc -e P {
image.filename $= %A$(count).%M;
image.export.pagedpi(%M,96,24,0); // TYPE, dpi, bpp, compression;
count++;
}
// END SCRIPT

Origin 6.1 supports AI BMP CGM DXF EMF EPS GIF JPG PCX PCT PDF PNG PSD TGA TIF WMF XPM XWD, but the above script limits you to BMP GIF JPG PCX PNG PSD TGA TIF XPM XWD which are more likely to be useable by an animation program.


Edited by - Greg on 02/09/2004 1:14:43 PM
mej Posted - 02/06/2004 : 05:55:51 AM
thank i will try it
tib Posted - 02/03/2004 : 7:12:24 PM
Hi mej,

if I understand you right you want to have a animated graph, e.g. how your measurement curve changes with time.
The only thing which comes to my mind right now is:

1.
Export every single graphs as BMP
I think in Origin6.1 LabTalk it is something like
image.exportDPI(BMP,100,24,0)
with image.exportDPI(format,dpi,bpp,compression)

2.
convert the BMP into GIF or PNG with another software (e.g. IrfanView)

3.
find a software to create animated GIFs or MNGs. I don't know any good one at this point.

This is pretty cumbersome, but I hope this helps at least a little bit,
Tilman.



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