Changeset 76 for trunk/src/uvmat.m


Ignore:
Timestamp:
Mar 31, 2010, 8:18:15 PM (14 years ago)
Author:
sommeria
Message:

minor bug repairs. Projection on any abject inside the main uvmat axes is now possible
aver_stat, time_series, merge_proj: set_object now called by tag instead of name (which depends on the object)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r75 r76  
    42464246hset_object=set_object(ObjectData,PlotHandles,ZBounds);% call the set_object interface,
    42474247set(hset_object,'name',ObjectName)
    4248 pos_uvmat=get(handles.uvmat,'Position');
    4249 %position the set_object GUI with respect to uvmat
    4250 if isfield(UvData,'SetObjectOrigin')
    4251     pos_set_object(1:2)=UvData.SetObjectOrigin + pos_uvmat(1:2);
    4252     pos_set_object(3:4)=UvData.SetObjectSize .* pos_uvmat(3:4);
    4253     set(hset_object,'Position',pos_set_object)
    4254 end
     4248% pos_uvmat=get(handles.uvmat,'Position');
     4249% %position the set_object GUI with respect to uvmat
     4250% if isfield(UvData,'SetObjectOrigin')
     4251%     pos_set_object(1:2)=UvData.SetObjectOrigin + pos_uvmat(1:2);
     4252%     pos_set_object(3:4)=UvData.SetObjectSize .* pos_uvmat(3:4);
     4253%     set(hset_object,'Position',pos_set_object)
     4254% end
    42554255
    42564256%project the current field on the object and plot it
     
    42624262    UvData.Object{IndexObj}.plotaxes=view_field(ProjData);
    42634263end
    4264 
     4264set(handles.uvmat,'UserData',UvData)
    42654265hother=findobj('Tag','proj_object');%find all the proj objects
    42664266for iobj=1:length(hother)
Note: See TracChangeset for help on using the changeset viewer.