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
 Command for plotting several lines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Bempel

France
19 Posts

Posted - 03/18/2003 :  06:24:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi there,

I'm looking for the command the enables me to only plot some lines from a column, instead of the whole column. The command I use to plot the whole column is for example :

layer.include(%J_O,201);

Here is the part from the script :

[MakePlot]
%J=%H;
win -t plot rheo G%[%O,'.'];

page.active=1; // activate layer 1


layer.include(%J_O,201);
layer.include(%J_M,201);
layer.include(%J_N,201);
layer.include(%J_I,201);


set %J_I -k 2; // shape#=1 (square), 2 (circle), ...
set %J_I -cse 1;
set %J_I -csf 18;
set %J_I -z 8;

set %J_M -k 1; // shape#=1 (square), 2 (circle), ...
set %J_M -csf 1; // fill color#=1 (black), 2 (red), 3 (green), etc
set %J_M -cse 1; // edge color
set %J_M -z 8; // set symbol interior 2=open

set %J_N -k 5;
set %J_N -csf 2;
set %J_N -cse 2;
set %J_N -z 8;

set %J_O -k 1;
set %J_O -cse 1;
set %J_O -csf 18;
set %J_O -z 10;

layer -b c 1;
X1=xx1; X2=xx2; // x-axis range
Y1=1; Y2=100000; // y-axis range

page.active=2; // activate layer 2

layer.include(%J_P,201);

layer -b c 1;
X1=xx1; X2=xx2; // x-axis range
Y1=0; Y2=40; // y-axis range

set %J_G -k 2;
set %J_G -cse 1;
set %J_G -csf 18;
set %J_G -z 8;

page.active=1;

Thanks for helping me on this...

Mike Buess

USA
3037 Posts

Posted - 03/18/2003 :  07:37:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Stephane,

Plot rows rr1 through rr2...

set %J_O -b rr1;
set %J_O -e rr2;
layer.include(%J_O,201);

Mike Buess
Origin WebRing Member
Go to Top of Page

Bempel

France
19 Posts

Posted - 03/18/2003 :  10:04:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you, Mike Buess
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