Changeset 102 for trunk/src/update_obj.m


Ignore:
Timestamp:
Jun 13, 2010, 11:32:05 PM (14 years ago)
Author:
sommeria
Message:

bugs corrected for projection objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/update_obj.m

    r99 r102  
    6767if ~isempty(ProjData)   
    6868    plotaxes=[];%default
    69 %         get(Object_set{IndexObj}.plotaxes)
    7069    if length(Object_set)>= IndexObj && isfield(Object_set{IndexObj},'plotaxes')
    7170        plotaxes=Object_set{IndexObj}.plotaxes;
    72         [PlotType,Object_out.PlotParam,plotaxes]=plot_field(ProjData,plotaxes,PlotHandles);
     71        [PlotType,Object_out.PlotParam,plotaxes]=plot_field(ProjData,plotaxes,PlotHandles);       
    7372    else
    74          [plotaxes]=view_field(ProjData);
     73        [plotaxes]=view_field(ProjData);
    7574    end
    76 %         [PlotType,Object_out.PlotParam,plotaxes]=plot_field(ProjData,plotaxes,PlotHandles);
    7775    Object_out.plotaxes=plotaxes;
    78 %     plotfig=get(plotaxes,'parent');
    79 %     name_str=get(plotfig,'Name');
    80 %     if ~isequal(name_str,'uvmat')
    81 %         set(plotfig,'Name',['Projection on' num2str(IndexObj) '-' ObjectData.Style]);
    82 %     end
    8376end
    8477
Note: See TracChangeset for help on using the changeset viewer.