Ignore:
Timestamp:
Mar 23, 2010, 2:52:49 PM (11 years ago)
Author:
sommeria
Message:

-plot projections on a new specific GUI view_field, to avoid the multiplication of active figures
-introduce a ruler in uvmat (in menu/Tools), to measure distances and angles
-insert automatic detection of points for geometric calibration: tool 'detect_grid'. Four points, deliminating the grid to determine, must be marked with the mouse, as well as the physical grid. Then the points inside are automatically detected.
-reading plane positions in ImaDoc? improved to deal with volume scans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field/PLOT.m

    r36 r60  
    1414    uvmat(SubField)
    1515else
    16 hfig=str2num(list_fig{val});% chosen figure number from tyhe GUI
    17 if isempty(hfig)
    18     hfig=figure;
    19     list_fig=[list_fig;num2str(hfig)];
    20     set(handles.list_fig,'String',list_fig);
    21     haxes=axes;
    22 else
    23     figure(hfig);
     16    hfig=str2num(list_fig{val});% chosen figure number from tyhe GUI
     17    if isempty(hfig)
     18        hfig=figure;
     19        list_fig=[list_fig;num2str(hfig)];
     20        set(handles.list_fig,'String',list_fig);
     21        haxes=axes;
     22    else
     23        figure(hfig);
     24    end
     25    haxes=findobj(hfig,'Type','axes');
     26    plot_field(SubField,haxes)
    2427end
    25 haxes=findobj(hfig,'Type','axes');
    26 plot_field(SubField,haxes)
    27 end
Note: See TracChangeset for help on using the changeset viewer.