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
 deleting the legend

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
memeye25960 Posted - 03/22/2020 : 09:49:21 AM
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;
}
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 03/23/2020 : 5:21:42 PM
try this
label -r legend;


James

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