Changeset 75 for trunk/src/view_field.m


Ignore:
Timestamp:
Mar 31, 2010, 2:57:31 PM (14 years ago)
Author:
sommeria
Message:

plot_field: bug repaired for profiles
view_field: introduction of a edit uicontrol for text display (needs to be used)
rescaling of the figure to optimize space
uvmat: small bugs repaired, in particular for 3D fields
TODO: adapt proj_field for lines in 3D space

introduce volume objects and interpolate on 3D grid (griddata3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/view_field.m

    r71 r75  
    25342534
    25352535
     2536
     2537
     2538
     2539function text_display_Callback(hObject, eventdata, handles)
     2540% hObject    handle to text_display (see GCBO)
     2541% eventdata  reserved - to be defined in a future version of MATLAB
     2542% handles    structure with handles and user data (see GUIDATA)
     2543
     2544% Hints: get(hObject,'String') returns contents of text_display as text
     2545%        str2double(get(hObject,'String')) returns contents of text_display as a double
     2546
     2547
     2548% --- Executes during object creation, after setting all properties.
     2549function text_display_CreateFcn(hObject, eventdata, handles)
     2550% hObject    handle to text_display (see GCBO)
     2551% eventdata  reserved - to be defined in a future version of MATLAB
     2552% handles    empty - handles not created until after all CreateFcns called
     2553
     2554% Hint: edit controls usually have a white background on Windows.
     2555%       See ISPC and COMPUTER.
     2556if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
     2557    set(hObject,'BackgroundColor','white');
     2558end
     2559
     2560
Note: See TracChangeset for help on using the changeset viewer.