ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 19 Jan 2023 14:08:59 +0100Manipulating Individual Alcoves in a Root Systemhttps://ask.sagemath.org/question/65983/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!Wed, 18 Jan 2023 17:59:07 +0100https://ask.sagemath.org/question/65983/manipulating-individual-alcoves-in-a-root-system/Comment by FrédéricC for <p>Hello there! </p>
<p>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). </p>
<pre><code>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)
</code></pre>
<p>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. </p>
<p>Thanks!</p>
https://ask.sagemath.org/question/65983/manipulating-individual-alcoves-in-a-root-system/?comment=66004#post-id-66004Please look at https://doc.sagemath.org/html/en/reference/combinat/sage/combinat/root_system/plot.html#sage-combinat-root-system-plotThu, 19 Jan 2023 14:08:59 +0100https://ask.sagemath.org/question/65983/manipulating-individual-alcoves-in-a-root-system/?comment=66004#post-id-66004