- Timestamp:
- Nov 5, 1999, 8:57:29 PM (26 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r548 r553 63 63 } 64 64 else if (kw == "stacknext") mImgApp->StackWinNext(); 65 else if (kw == "graphic _att") {66 if (tokens.size() < 1) { cout << "Usage: graphic _att attributes_list (att=def->defaut)" << endl; return(0); }65 else if (kw == "graphicatt") { 66 if (tokens.size() < 1) { cout << "Usage: graphicatt attributes_list (att=def->defaut)" << endl; return(0); } 67 67 mObjMgr->SetGraphicAttributes(tokens[0]); 68 68 } … … 670 670 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 671 671 672 kw = "graphic _att";673 usage = "To change default graphic options \n Usage: graphic _att att_list \n";672 kw = "graphicatt"; 673 usage = "To change default graphic options \n Usage: graphicatt att_list \n"; 674 674 usage += "att_list=def back to default values, Example: gratt red,circlemarker5"; 675 675 usage += "\n ------------------ Graphic attribute list ------------------ \n"; … … 700 700 kw = "setxylimits"; 701 701 usage = "Define 2-D plot limits \n Usage: setxylimits xmin xmax ymin ymax"; 702 usage += "\n Related commands: graphic _att";702 usage += "\n Related commands: graphicatt"; 703 703 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 704 704 … … 708 708 usage += " graphic object size (0. .. 1.) Xmax at right, YMax top. "; 709 709 usage += " Usage: setinsetlimits xmin xmax ymin ymax"; 710 usage += "\n Related commands: graphic _att";710 usage += "\n Related commands: graphicatt"; 711 711 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 712 712 … … 715 715 usage += "\n at the specified position (Gr-Object Coordinate) with graphic attribute specification"; 716 716 usage += "\n Usage: addtext x y ColFontAtt TextString"; 717 usage += "\n Related commands: graphic _att";717 usage += "\n Related commands: graphicatt"; 718 718 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 719 719 … … 1121 1121 usage += "o The overlay can be on a selected rectangle of the \n"; 1122 1122 usage += " last displayed widget (gr_att= inset) - See setinsetlimits\n"; 1123 usage += "\n Related commands: newwin zone stacknext graphic _att setinsetlimits";1123 usage += "\n Related commands: newwin zone stacknext graphicatt setinsetlimits"; 1124 1124 piac->RegisterHelp(kw, usage, grp); 1125 1125 -
trunk/SophyaPI/PIext/pistdimgapp.cc
r548 r553 480 480 y2 = 1.-mIYmin; y1 = 1.-mIYmax; 481 481 scd->SetAxesFlags(mAxesFlags); 482 scd->UpdateLimits(); 482 if (maXlog || maYlog) scd->SetLogScale(maXlog, maYlog); // Echelle log 483 if (mFXYlim) // Forcage limites XY 484 scd->SetLimits(mXmin, mXmax, mYmin, mYmax); 485 else scd->UpdateLimits(); 483 486 mLastWdg->AddDrawer(scd, x1, y1, x2, y2, true, false, true); 484 487 scd->Refresh();
Note:
See TracChangeset
for help on using the changeset viewer.