Ask Your Question

Revision history [back]

Manipulating Individual Alcoves in a Root System

Hello there!

I've been working with Sage's built-in root lattice visualization and have run into a bit of a snag. Starting with the image below, I am trying to highlight specific alcoves based on their corresponding group elements (ie. a way to take an arbitrary alcove and change its color).

L = RootSystem(["A",2,1]).ambient_space()
p = L.plot(alcove_labels=True,roots=False,coroots=False,fundamental_weights=False, bounding_box=5)
p.show(figsize=18)

It seems like the data structure 'knows' which alcoves correspond to which group elements, but I'm having trouble figuring out how to manipulate this information.

Thanks!