Home > vis > plotCell.m

plotCell

PURPOSE ^

SYNOPSIS ^

function plotCell(cell,color,P)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotCell(cell,color,P)
0002 area = round(sqrt(cell(end).Area/pi))*P.tRatio_PlotArea+1;
0003 plot(cell.Col,cell.Row,'o','MarkerFaceColor',color,'MarkerEdgeColor','r','MarkerSize',area);   
0004 text(cell.Col,cell.Row+10,num2str(cell.Id),'color','g','Fontsize',P.tSize_Text,'HorizontalAlignment','center','VerticalAlignment','middle');    
0005 hold on;

Generated on Thu 17-Mar-2011 14:45:51 by m2html © 2005