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
 Fast Output in Layer

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
Malab Posted - 07/02/2002 : 05:26:00 AM
I want to make a "Slideshow" in Origin like:

Loop
Layer -i DataSet(n)
timer
Layer -e DataSet(n)
n+1
end

But with the command layer -i DataSet there is a flicker on screen. This comand is to slow! Can I change a buffer or something to make it possible to have a perfect animation?
1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 07/02/2002 : 11:45:49 AM
You should keep all data plots in layer and just control their Show property. The following script should work
 
// count number of plots in layer and set all to be hidden
layer.color=color(white);//need to have a color to clear background with plot -l
nplots=0;
doc -e D {set %C -s 0;nplots++};

set %(1,@D) -s 1;// show 1st plot
plot -l; // draw layer

loop (i,2,nplots) {
sec -p 1;
set %(i-1,@D) -s 0;
set %(i,@D) -s 1;
plot -v; // disable flash
plot -l;
};





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