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
 Howto switch off "Graph-Clear"

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
Steve Dreger Posted - 10/20/1998 : 7:47:00 PM
I send Data to Origin via DDE. These data are actualized after some seconds and are plotted online in an Origin Graph. Before updating the Graph Origin clears the old plot in the Graph. Is there any way to switch off this, so that every new curve is plottet to the old ones without clearing ?

Steve

3   L A T E S T    R E P L I E S    (Newest First)
Steve Dreger Posted - 10/26/1998 : 7:22:00 PM
Thank you for your tip, but i can't do it that way.
I have to replace all old Data in the Worksheet by the new ones coming from the DDE Client - but I don't want the old plottet data in the Graph be cleared. I can't append the new data because one DDE - Message contains sometimes more than 3000 rows (that means : per minute 90000 rows if one Message every two seconds). That's too much for an Origin Worksheet so I have to replace the old values by the new ones and can't use append.

Steve

greg Posted - 10/26/1998 : 7:09:00 PM
Then you should be using an Origin Project that has a graph whose layer (or layers) contains datasets from multiple worksheets. Each poke of CF_TEXT would go to a different worksheet and would update the graph without a complete redraw. You could use the same application object to hold the text and change the item for that object to a different worksheet. If the graph is redrawing in your case, then it is because you are doing something to make it redraw. You would need to manage the Graph scaling to be sure it would display all the data you need to display.


Incidently, 90000 rows is not an Origin worksheet limitation in 4.1 or 5.0. Perhaps you are using an older version of Origin or are running into a CF_TEXT (Windows) limitation.

greg Posted - 10/22/1998 : 2:29:00 PM
The LabTalkTM command you should look at is:

Plot -a wksName nCol v1 v2 v3 ...


This command was designed for exactly the situation you described:
Origin is being used as a DDE Server1 with a worksheet and a graph displaying columns from that worksheet.
When data is appended to the worksheet using this command, the new data is drawn in the graph window without a redraw.


Here is an example anyone can try within Origin - you don't need Origin Professional for this. Open a New Project and run this script in the Script window:


%M=%H;
wo -a 1;
win -t plot;
y1=-1;y2=1;y3=.5;x1=0;x2=360;x3=30;
layer -i %M_B;
layer -i %M_C;
temp=SYSTEM.MATH.ANGULARUNITS;
system.math.angularunits=1;
for(angle=0;angle<=360;angle+=10) {
v1=angle;
v2=sin(angle);
v3=cos(angle);
plot -a %M 1 v1 v2 v3;
sec -p .5;
}
label -a 120 0 Sine and Cosine functions;
SYSTEM.MATH.ANGULARUNITS=temp;


Note 1 : Information and application samples for using Origin as a DDE Server are part of the Origin Professional Package.


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