Changeset 156 for trunk/src/plot_field.m
- Timestamp:
- Dec 19, 2010, 10:11:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plot_field.m
r153 r156 144 144 if testnewfig% create a new figure and axes if the plotting axes does not exist 145 145 hfig=figure; 146 % if isfield(Data,'IndexObj') && isfield(Data,'Style') && isfield(Data,'ProjMode')147 % figname=[num2str(Data.IndexObj) '-' Data.Style];148 % set(hfig,'Name',figname)149 % end150 % testhandle=0;151 146 if isfield(PlotParam,'text_display_1') && ishandle(PlotParam.text_display_1) 152 147 set(hfig,'UserData',PlotParam) 153 % testhandle=1;154 148 end 155 149 set(hfig,'Units','normalized') 156 150 set(hfig,'WindowButtonDownFcn','mouse_down') 157 %set(hfig,'WindowButtonMotionFcn',{'mouse_motion',PlotParam})%set mouse action function158 151 set(hfig,'WindowButtonMotionFcn','mouse_motion')%set mouse action function 159 152 set(hfig,'WindowButtonUpFcn','mouse_up')%set mouse action function … … 204 197 if testzoomaxes && isempty(errormsg) 205 198 [AxeData,zoomaxes,PlotParamOut,xx,errormsg]=plot_plane(Data,CellVarIndex(ind_select),VarType(ind_select),zoomaxes,PlotParam,1,PosColorbar); 206 %AxeData.ZoomAxes=zoomaxes;207 199 Data.ZoomAxes=zoomaxes; 208 200 end
Note: See TracChangeset
for help on using the changeset viewer.