2017-04-10 70 views

回答

2

塞斯的权利。如果你想要一个(非常好看的)解决方法,你可以得到你想要显示的颜色的补丁,以便在方形的乌龟身上发芽,以便在当前的图纸上添加方格的颜色。因为它是一个绘图层,有没有什么你可以用它之后做的,但如果它只是一个快速显示此可能工作你需要:

to dubious-workaround 
    ask patches with [ pxcor > 0 and pycor > 0 ] [ 
    sprout 1 [ 
     set color pcolor 
     set heading 0 
     set size 1.25 
     set shape "square" 
     stamp 
     die 
    ] 
    ] 
end