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
 deleting the legend
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

memeye25960

1 Posts

Posted - 03/22/2020 :  09:49:21 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear all,
I have made a small prog. to display many 2D image profile.
I do not need the legend but it is on every graph.
I try to use ---> layer -r legend;it does not work.
What can I do ?
The prog.
for (int ii = 1; ii <= 3; ii++ ) {

newbook;
// Import sample data
string aa$=$(ii);
string fname$ = "xxxxxxxxxxxx\Pour profil de dose\Win32\Debug\test3_Z_" +aa$+".dat";
impasc;
//set the data folder,
wsort bycol:=3;

// Rename column 1 to DataX
wks.col1.name$ = DataX;
// Rename column 2 to DataY by using range
range rY = 2; // range to column 2
rY.name$ = DataY;
// Rename column 3 to DataZ by using range
wks.col3.type = 6;
// Convert worksheet data into a 41 x 41 matrix by Renka-Cline gridding method
xyz_renka 3 41 41;
worksheet -p 226 contour;
layer.cmap.zmin=1e6;
layer.cmap.zmax=1e19;
layer.cmap.SetLevels() ;
layer.cmap.updateScale();
//Set the start value
//layer.y.from = 0.0;
//Set the end value
//layer.y.to = 10.0;
layer -r legend; // Don't really need a legend, delete it
imageprofile;
}

YimingChen

1669 Posts

Posted - 03/23/2020 :  5:21:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
try this
label -r legend;


James
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