Ejemplo n.º 1
0
def setZoneNames(list):
    """Set zone names.
    Usage: setZoneNames([(0,'myZone')])"""
    CPlot.setZoneNames(list)
Ejemplo n.º 2
0
# - setZoneNames (array) -
import Generator as G
import CPlot
import time

a1 = G.cart((0, 0, 0), (1, 1, 1), (5, 5, 5))
a2 = G.cart((7, 0, 0), (1, 1, 1), (3, 3, 3))
CPlot.display([a1, a2])

time.sleep(1.)
CPlot.setZoneNames([(0, 'FirstZone'), (1, 'SecondZone')])