Changeset 1199 for trunk/src/mouse_down.m
- Timestamp:
- Mar 18, 2026, 12:44:56 PM (3 hours ago)
- File:
-
- 1 edited
-
trunk/src/mouse_down.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_down.m
r1173 r1199 126 126 if NbDim(icell)==2 % select 2D field 127 127 if isfield(Field,'CoordMesh') && ~isempty(Field.CoordMesh)&&... 128 ~isempty(CellInfo{icell}. VarIndex_coord_x) && ~isempty(CellInfo{icell}.VarIndex_coord_y)%case of unstructured data129 X=Field.( Field.ListVarName{CellInfo{icell}.VarIndex_coord_x});130 Y=Field.( Field.ListVarName{CellInfo{icell}.VarIndex_coord_y});128 ~isempty(CellInfo{icell}.XName) && ~isempty(CellInfo{icell}.YName)%case of unstructured data 129 X=Field.(CellInfo{icell}.XName); 130 Y=Field.(CellInfo{icell}.YName); 131 131 flag_vec=(X<(xy(1,1)+Field.CoordMesh/4) & X>(xy(1,1)-Field.CoordMesh/4)) & ...%flagx=1 for the vectors with x position selected by the mouse 132 132 (Y<(xy(1,2)+Field.CoordMesh/4) & Y>(xy(1,2)-Field.CoordMesh/4));%f
Note: See TracChangeset
for help on using the changeset viewer.
