Changeset 187 for trunk/src/plot_object.m
- Timestamp:
- Feb 1, 2011, 1:07:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plot_object.m
r183 r187 194 194 theta=0; 195 195 else 196 theta=angle(diff(xline)+ i*diff(yline));196 theta=angle(diff(xline)+1i*diff(yline)); 197 197 theta(length(xline))=theta(length(xline)-1); 198 198 end … … 386 386 end 387 387 set(hh,'Tag','proj_object') 388 if test_patch389 hold on388 if test_patch 389 hold on 390 390 hhh=image([xlim(1)+dx/2 xlim(2)-dx/2],[ylim(1)+dy/2 ylim(2)-dy/2],imflag,'Tag','proj_object','HitTest','off'); 391 392 PlotData.SubObject=hhh;393 end391 set(hhh,'AlphaData',(flag)*0.2)% set partial transparency to the filling color 392 PlotData.SubObject=hhh; 393 end 394 394 if isfield(PlotData,'SubObject') 395 395 set(PlotData.SubObject,'UserData',hh)%record the parent handles in the SubObjects
Note: See TracChangeset
for help on using the changeset viewer.