Changeset 132 for trunk/src


Ignore:
Timestamp:
Nov 25, 2010, 10:14:11 AM (14 years ago)
Author:
sommeria
Message:

cleaning + introduction of .ProjField? in figure user data, for further use by mouse motion, instead of AxeData?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r128 r132  
    26942694        else
    26952695            [PlotType,PlotParamOut]=plot_field(ObjectData,haxes(imap),PlotParam{imap},keeplim(imap),PosColorbar{imap});
    2696              write_plot_param(plot_handles{imap},PlotParamOut) %update the auto plot parameters
     2696            write_plot_param(plot_handles{imap},PlotParamOut) %update the auto plot parameters
     2697            if imap==1
     2698                UvData.ProjField=ObjectData;
     2699            else
     2700                ViewFieldData=get(view_field_handle,'UserData');
     2701                ViewFieldData.ProjField=ObjectData;
     2702                set(view_field_handle,'UserData',ViewFieldData)
     2703            end
    26972704        end
    26982705        if isequal(PlotType,'none')
     
    42774284
    42784285%-------------------------------------------------------------------
    4279 function [PlotType,ScalOut]=update_plot(handles)
     4286function update_plot(handles)
    42804287%-------------------------------------------------------------------
    42814288haxes= handles.axes3;
Note: See TracChangeset for help on using the changeset viewer.