Changeset 292 for trunk/src/mouse_up.m


Ignore:
Timestamp:
Nov 21, 2011, 11:12:06 AM (13 years ago)
Author:
sommeria
Message:

GUI civ patch2 corrected (SmoothingParam?).
uvmatand view_field updated with panels.
read_plot_param removed (replaced by the mostgeneral read_GUI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_up.m

    r252 r292  
    4343    testsubplot=0;
    4444end
    45 test_zoom=get(hhcurrentfig.zoom,'Value');
     45test_zoom=get(hhcurrentfig.CheckZoom,'Value');
    4646
    4747huvmat=findobj(allchild(0),'tag','uvmat');%find the uvmat interface handle
     
    164164                    hh_plotfield=hhuvmat;
    165165                end
    166                 [PlotType,PlotParam]=plot_field(ProjData,hh_plotfield.axes3,read_plot_param(hh_plotfield));%update an existing field plot
     166                %[PlotType,PlotParam]=plot_field(ProjData,hh_plotfield.axes3,read_plot_param(hh_plotfield));%update an existing field plot
     167                [PlotType,PlotParam]=plot_field(ProjData,hh_plotfield.axes3,read_GUI(hview_field));%update an existing field plot
    167168                write_plot_param(hh_plotfield,PlotParam); %update the display of plotting parameters for the current object
    168169            end
     
    272273         % desactivate the zoom if the full field is visible within the axes
    273274            if isequal(xlim,AxeData.RangeX) && isequal(ylim,AxeData.RangeY)
    274                 set(hhuvmat.zoom,'Value',0)
    275                 set(hhuvmat.zoom,'BackgroundColor',[0.7 0.7 0.7])
    276                 set(hhuvmat.FixLimits,'Value',0)
    277                 set(hhuvmat.FixLimits,'BackgroundColor',[0.7 0.7 0.7])
     275                set(hhuvmat.CheckZoom,'Value',0)
     276                set(hhuvmat.CheckZoom,'BackgroundColor',[0.7 0.7 0.7])
     277                set(hhuvmat.CheckFixLimits,'Value',0)
     278                set(hhuvmat.CheckFixLimits,'BackgroundColor',[0.7 0.7 0.7])
    278279            end
    279280        end
     
    286287    end
    287288    if isfield(AxeData,'LimEditBox')&& AxeData.LimEditBox% update display of the GUI containing the axis (uvmat or view_field)
    288         set(hhcurrentfig.MinX,'String',num2str(xlim(1)))
    289         set(hhcurrentfig.MaxX,'String',num2str(xlim(2)))
    290         set(hhcurrentfig.MinY,'String',num2str(ylim(1)))
    291         set(hhcurrentfig.MaxY,'String',num2str(ylim(2)))
     289        set(hhcurrentfig.num_MinX,'String',num2str(xlim(1)))
     290        set(hhcurrentfig.num_MaxX,'String',num2str(xlim(2)))
     291        set(hhcurrentfig.num_MinY,'String',num2str(ylim(1)))
     292        set(hhcurrentfig.num_MaxY,'String',num2str(ylim(2)))
    292293    end
    293294end
Note: See TracChangeset for help on using the changeset viewer.