Ignore:
Timestamp:
May 22, 2012, 1:07:40 AM (12 years ago)
Author:
sommeria
Message:

improvements in object drawing and projection on points

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 operation
     1%'write_plot_param': update the plotting parameters on the uvmat or view_field interface after a plotting operation
    22function write_plot_param(handles,PlotParam)
    33%% coordinates
    4 if isfield(PlotParam,'Coordinates')
     4if 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')
     9else
     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
    516    Coordinates=PlotParam.Coordinates;
    617    if isfield(Coordinates,'CheckFixAspectRatio')
     
    1526    if isfield(Coordinates,'AspectRatio')
    1627        set(handles.num_AspectRatio,'String',num2str(Coordinates.AspectRatio))
    17     end   
     28    end
    1829    if isfield(Coordinates,'MinX')
    1930        set(handles.num_MinX,'String',num2str(Coordinates.MinX,4));
Note: See TracChangeset for help on using the changeset viewer.