0001 function ChangeGraphProperty_jd(hObject, eventdata, handles, axes, selectedgraphs, property, listofitems)
0002
0003
0004
0005 NewPropertyItemIndex = get(hObject,'Value');
0006
0007 if NewPropertyItemIndex > 2,
0008 NewProperty = listofitems{NewPropertyItemIndex - 2};
0009 else
0010 return
0011 end
0012
0013 for iGraph = 1:length(handles.graphs),
0014 if isequal(handles.graphs{iGraph}.axes,axes)...
0015 & min(abs(selectedgraphs - iGraph)) == 0,
0016 set(handles.graphs{iGraph}.hgraph,property,NewProperty)
0017 end
0018 end
0019