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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Plotting !
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rrahul

USA
Posts

Posted - 05/17/2005 :  11:35:50 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.0
Operating System: Win XP

I intend to plot both the traces ( col c and col d ) as lines but the code below plots one as a scatter. What is going wrong?


[Plot]

win -t plot plottrace G%W; //customized template
page.active=2; // activate layer 2
layer -w %1 0201 200; //Include wks data in the active layer
layer -e %1_b;
limit %1_a;
layer.x.from = 0;
layer.x.to = limit.xmax*0.1;
layer.y.from = 0;
layer.y.to = 2000;
set %1_c -cl 3;
set %1_d -cl 2;
label -s -p 75 10 G%W;


Thanks,
Rahul

greg

USA
1380 Posts

Posted - 05/18/2005 :  1:59:29 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Instead of plotting the entire worksheet (layer -w) and then excluding data (layer -e), why not just include what you want where you want it and let the template set the plot styles?

...
page.active=1;
layer -i %1_C;
page.active=2;
layer -i %1_D;
...
etc.


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000