Changeset 429 for trunk/src/write_plot_param.m
- Timestamp:
- May 22, 2012, 1:07:40 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/write_plot_param.m
r428 r429 1 %'write_plot_param': update the plotting parameters on the uvmat interface after a plotting operation1 %'write_plot_param': update the plotting parameters on the uvmat or view_field interface after a plotting operation 2 2 function write_plot_param(handles,PlotParam) 3 3 %% coordinates 4 if isfield(PlotParam,'Coordinates') 4 if isempty(PlotParam.Coordinates) 5 set(handles.Coordinates,'Visible','off') 6 set(handles.axes3,'Visible','off') 7 set(handles.text_display,'Visible','off') 8 set(handles.TableDisplay,'Visible','on') 9 else 10 set(handles.Coordinates,'Visible','on') 11 set(handles.axes3,'Visible','on') 12 set(handles.text_display,'Visible','on') 13 if isfield(handles,'TableDisplay') 14 set(handles.TableDisplay,'Visible','off') 15 end 5 16 Coordinates=PlotParam.Coordinates; 6 17 if isfield(Coordinates,'CheckFixAspectRatio') … … 15 26 if isfield(Coordinates,'AspectRatio') 16 27 set(handles.num_AspectRatio,'String',num2str(Coordinates.AspectRatio)) 17 end 28 end 18 29 if isfield(Coordinates,'MinX') 19 30 set(handles.num_MinX,'String',num2str(Coordinates.MinX,4));
Note: See TracChangeset
for help on using the changeset viewer.