[ Home | SDTools | SDT | Sales ]
[ Support | Services | Publications]


Displaying selections with specified color/transparency



Previous Up Next

This example shows how to define two selections and how to display its with specified color and transparency properties in
  demosdt('nostop');gartfe;delete(gcf)
 cf=feplot;cf.model=model;

 cf.sel(1)='matid 1';
 cf.sel(2)='matid 2';

 cf.o(1)='sel 1  ty1 ';
 cf.o(2)='sel 2  ty1 ';
 set(cf.o(1),'facecolor','y','edgecolor','k','facealpha',.3,'edgealpha',.1);
 set(cf.o(2),'facecolor','r','edgecolor','k','facealpha',1.,'edgealpha',1.);
 

©1991-2006 by SDTools