Changeset 413 for trunk/src/uvmat.m


Ignore:
Timestamp:
May 8, 2012, 2:27:50 PM (13 years ago)
Author:
sommeria
Message:

various bugs corrected and improvement in civ1_TEST

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r411 r413  
    25132513        return
    25142514    end
    2515     %     if testnewseries && isfield(ObjectData,'CoordUnit')&& isfield(PlotParam{imap},'Coordinates')
    2516     %         PlotParam{imap}.Coordinates=rmfield(PlotParam{imap}.Coordinates,'CheckFixEqual'); %set FixEqual to depend on the field (=1 if Data.CoordUnit=1 in plot_field)
    2517     %     end
    25182515    if testnewseries && isfield(ObjectData,'CoordUnit')
    2519         PlotParam{imap}.Coordinates.CheckFixEqual=1;
     2516        PlotParam{imap}.Coordinates.CheckFixEqual=1;% set x and y scaling equal if CoordUnit is defined (common unit for x and y)
    25202517    end
    25212518    %use of mask (TODO: check)
     
    44254422hhset_object=guidata(hset_object);
    44264423set(hhset_object.PLOT,'enable','on')% activate the refresh button
    4427 set(handles.MenuObject,'checked','on')
     4424%set(handles.MenuObject,'checked','on')
    44284425set(handles.uvmat,'UserData',UvData)
    44294426set(handles.CheckZoom,'Value',0) %desactivate the zoom for object creation by the mouse
     
    44564453set(handles.edit_object,'Value',0); %suppress the object edit mode
    44574454set(handles.edit_object,'BackgroundColor',[0.7,0.7,0.7]) 
    4458 set(handles.MenuObject,'checked','on')
     4455%set(handles.MenuObject,'checked','on')
    44594456set(handles.delete_object,'Visible','on')
    44604457
Note: See TracChangeset for help on using the changeset viewer.