Changeset 2118 in Sophya


Ignore:
Timestamp:
Jul 19, 2002, 1:30:38 AM (23 years ago)
Author:
ansari
Message:

Correction bug ds affichage d'image, amelioration du texte d'aide en ligne des commandes - MAJ numero de version - Reza 18/7/2002

Location:
trunk/SophyaPI/PIext
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/basexecut.cc

    r2089 r2118  
    773773usage += "                rainbow16 \n";
    774774usage += "   revcmap : This flag reverses ColorMap indexing \n";
    775 usage += ">> ZoomFactors: defzoom zoomx1 zoomx2 zoomx3 zoomx4 zoomx5 \n";
    776 usage += "                               zoom/2 zoom/3 zoom/4 zoom/5 \n";
     775usage += ">> ZoomFactors      zoomxN zoomx1 zoomx2 zoomx3 ... \n";
     776usage += "   (image display)  zoom/N zoom/2 zoom/3 zoom/4 ...\n";
    777777usage += ">> imagecenter=ix,iy -> Position the image in widget \n";
    778 usage += ">> Axes:  stdaxes=defaxes=boxaxes  simpleaxes boxaxesgrid \n";
    779 usage += "          fineaxes finesimpleaxes  fineaxesgrid=grid \n";
    780 usage += "          simpleaxesgrid finesimpleaxesgrid \n";
     778 usage += ">> lut=ltyp,min,max -> Sets LUT type and min/max for image display \n";
     779usage += "                       (ltyp=lin/log/sqrt/square) \n";
     780usage += ">> Axes:  stdaxes=defaxes=boxaxes boxaxesgrid centeredaxes\n";
     781usage += "          fineaxes finecenteredaxes fineaxesgrid=grid \n";
     782usage += "          centeredaxesgrid finecenteredaxesgrid \n";
    781783usage += ">> LogScale : linx liny logx logy -> Lin/Log Scales for 2D plots \n";
    782 usage += ">> XYLimits : xylimits  -> Forces X-Y limits in 2-D plots \n";
     784usage += ">> xylimits=xmin,xmax,ymin,ymax  -> Forces X-Y limits in 2-D plots \n";
    783785usage += ">> stat/nostat or stats/nostats -> Toggle statistic display flag \n";
    784786usage += ">> title/notitle or tit/notit -> Toggle Auto AddTitle flag \n";
     
    789791kw = "setaxesatt";
    790792usage = "To set default axes attributes \n  Usage: setaxesatt att_list \n";
    791 usage += ">> Axes:  stdaxes=defaxes=boxaxes  simpleaxes boxaxesgrid \n";
    792 usage += "          fineaxes  finesimpleaxes fineaxesgrid=grid \n";
    793 usage += "          simpleaxesgrid finesimpleaxesgrid \n";
     793usage += "Color/Line/Font attributes and axes attributes";
     794usage += ">> Axes:  stdaxes=defaxes=boxaxes boxaxesgrid centeredaxes\n";
     795usage += "          fineaxes finecenteredaxes fineaxesgrid=grid \n";
     796usage += "          centeredaxesgrid finecenteredaxesgrid \n";
    794797usage += ">> LogScale : linx liny logx logy -> Lin/Log Scales for 2D plots \n";
    795798usage += ">> xylimits=xmin,xmax,ymin,ymax  -> Forces X-Y limits in 2-D plots \n";
    796799mpiac->RegisterCommand(kw, usage, this, "Graphics");
    797 
    798800
    799801kw = "setinsetlimits";
     
    803805usage += " Usage: setinsetlimits xmin xmax ymin ymax";
    804806usage += "\n  Related commands: graphicatt /inset"; 
    805 mpiac->RegisterCommand(kw, usage, this, "Graphics");
    806 
    807 kw = "setimgcenter";
    808 usage = "Define image center postion \n Usage: setimgcenter xc yc";
    809 usage += "\n  Related commands: graphicatt /centerimg"; 
    810807mpiac->RegisterCommand(kw, usage, this, "Graphics");
    811808
  • trunk/SophyaPI/PIext/piaversion.h

    r1971 r2118  
    22#define PIAPPVERSION_H_SEEN
    33
    4 #define PIAPP_VERSIONNUMBER  3.40
     4#define PIAPP_VERSIONNUMBER  3.50
    55
    66#endif
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r2106 r2118  
    563563pii->SetUserData(NULL, oid);
    564564
    565 // decode des options en chaine de caracteres
    566 pii->DecodeOptionString(mDefaultAtt, false);  // d'abord les options par defaut
    567 pii->DecodeOptionString(opts);      // ensuite, les options specifies en argument
    568 
    569565
    570566// On recalcule la taille de la fenetre si Disp_Win
     
    580576}
    581577
    582 pii->SetImage(nouv, false);
     578pii->SetImage(nouv, true, false);
     579
     580// decode des options en chaine de caracteres
     581pii->DecodeOptionString(mDefaultAtt, false);  // d'abord les options par defaut
     582pii->DecodeOptionString(opts);      // ensuite, les options specifies en argument
    583583
    584584// printf("!!DBG!! PIImage Pos= %d %d  Size= %d %d \n", pii->XPos(), pii->YPos(), pii->XSize(), pii->YSize()   );
     
    588588mBWId++;
    589589mBWList[mBWId] = pii;
    590 pii->Refresh();
     590// pii->Refresh();
     591pii->Apply();
     592cmapv->Refresh();
    591593return(mBWId);
    592594}
     
    12461248    else if (token == "inset")   rc = Disp_Inset;
    12471249    else  if (token == "stack")   rc = Disp_Stack;
     1250    else  if (token == "next")   rc = Disp_Next;
    12481251    // Option a etre decode par les drawers, etc ...
    12491252    else  opts.push_back(token);
Note: See TracChangeset for help on using the changeset viewer.