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 |
|
|