Changeset 543
- Timestamp:
- Sep 15, 2012, 10:31:02 PM (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_cells.m
r535 r543 256 256 DimIndices=[DimIndices ind_dim]; %update the list of coord dimensions included in DimCell 257 257 if check_var && CoordSize(ind_dim)==2 % determine the size of the coordinate in case of coordiante variable limited to lower and upper bounds 258 if isvector(Data.(ListVarName{ivardim})) || iscolumn(Data.(ListVarName{ivardim}))258 if isvector(Data.(ListVarName{ivardim})) 259 259 if numel(Data.(ListVarName{ivardim}))>2 260 260 CoordSize(ind_dim)=numel(Data.(ListVarName{ivardim})); -
trunk/src/mouse_down.m
r541 r543 102 102 haxes=hchild; 103 103 xy=get(hchild,'CurrentPoint');%xy(1,1),xy(1,2): current x,y positions in axes coordinates 104 if xy(1,1)>x_lim(1) && xy(1,1)<x_lim(2) && xy(1,2)>y_lim(1) && xy(1,2)<y_lim(2)104 % if xy(1,1)>x_lim(1) && xy(1,1)<x_lim(2) && xy(1,2)>y_lim(1) && xy(1,2)<y_lim(2) 105 105 AxeData=get(hchild,'UserData');% data attached to the axis 106 106 AxeData.CurrentOrigin=[xy(1,1) xy(1,2)];% The current point set by the mouse becomes the current origin … … 125 125 end 126 126 end 127 else128 hchild=[];%mouse out of axes129 end127 % else 128 % hchild=[];%mouse out of axes 129 % end 130 130 break 131 131
Note: See TracChangeset
for help on using the changeset viewer.