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, 21 Nov 2013 06:53:16 +0100Arrange related variables in a set and visualize relationshttps://ask.sagemath.org/question/10747/arrange-related-variables-in-a-set-and-visualize-relations/Hi,
I have a basic question, let me explain with this simple example;
variables;
b=var('b')
c=var('c')
d=var('d')
e=var('e')
f=var('f')
g=var('g')
relations;
a = b + c
m = d + e + b
n = f + g + c
So everything is related to each other. I want to form some kind of set-system and visualize these relations in Sage with arrows and so on. How can I achieve this ?
Thank you.Sun, 17 Nov 2013 23:11:26 +0100https://ask.sagemath.org/question/10747/arrange-related-variables-in-a-set-and-visualize-relations/Comment by tmonteil for <p>Hi,</p>
<p>I have a basic question, let me explain with this simple example;</p>
<p>variables;</p>
<pre><code>b=var('b')
c=var('c')
d=var('d')
e=var('e')
f=var('f')
g=var('g')
</code></pre>
<p>relations;</p>
<pre><code>a = b + c
m = d + e + b
n = f + g + c
</code></pre>
<p>So everything is related to each other. I want to form some kind of set-system and visualize these relations in Sage with arrows and so on. How can I achieve this ?</p>
<p>Thank you.</p>
https://ask.sagemath.org/question/10747/arrange-related-variables-in-a-set-and-visualize-relations/?comment=16681#post-id-16681Can you give more details of the kind of structure you want for "with arrows and so on" ? Do you want a simplicial complex, a graph, which graph ? For example, could you provide an example of a picture you would like to get in your example ?Mon, 18 Nov 2013 12:23:55 +0100https://ask.sagemath.org/question/10747/arrange-related-variables-in-a-set-and-visualize-relations/?comment=16681#post-id-16681Comment by symb0 for <p>Hi,</p>
<p>I have a basic question, let me explain with this simple example;</p>
<p>variables;</p>
<pre><code>b=var('b')
c=var('c')
d=var('d')
e=var('e')
f=var('f')
g=var('g')
</code></pre>
<p>relations;</p>
<pre><code>a = b + c
m = d + e + b
n = f + g + c
</code></pre>
<p>So everything is related to each other. I want to form some kind of set-system and visualize these relations in Sage with arrows and so on. How can I achieve this ?</p>
<p>Thank you.</p>
https://ask.sagemath.org/question/10747/arrange-related-variables-in-a-set-and-visualize-relations/?comment=16666#post-id-16666In the following link you can find an example for SymPy. I am trying to implement in Sage.
http://s22.postimg.org/shauzsnch/pic.pngThu, 21 Nov 2013 06:53:16 +0100https://ask.sagemath.org/question/10747/arrange-related-variables-in-a-set-and-visualize-relations/?comment=16666#post-id-16666