ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 12 Mar 2019 08:02:55 -0500dimensions of imagehttp://ask.sagemath.org/question/45765/dimensions-of-image/ I am having a little trouble when trying to specify the dimensions of a poset which I wish to see the graph of. I use name.show(figsize=[x,y]) but it's not giving me the expected image since it's only conserving the ratio, so it leaves off the y variable. If I wish to see the graph of the poset with dimensions 8x10, it should let me do so with the option figsize=[8,10], but it does not.
Can anyone help me with this issue?
Thank you in advance.Mon, 11 Mar 2019 20:10:26 -0500http://ask.sagemath.org/question/45765/dimensions-of-image/Answer by Juanjo for <p>I am having a little trouble when trying to specify the dimensions of a poset which I wish to see the graph of. I use name.show(figsize=[x,y]) but it's not giving me the expected image since it's only conserving the ratio, so it leaves off the y variable. If I wish to see the graph of the poset with dimensions 8x10, it should let me do so with the option figsize=[8,10], but it does not.</p>
<p>Can anyone help me with this issue?</p>
<p>Thank you in advance.</p>
http://ask.sagemath.org/question/45765/dimensions-of-image/?answer=45766#post-id-45766Try `name.show(figsize=8,aspect_ratio=10/8)` and then adjust the values of `figsize` and `aspect_ratio` to fit your needs.Mon, 11 Mar 2019 21:06:20 -0500http://ask.sagemath.org/question/45765/dimensions-of-image/?answer=45766#post-id-45766Comment by Stiven for <p>Try <code>name.show(figsize=8,aspect_ratio=10/8)</code> and then adjust the values of <code>figsize</code> and <code>aspect_ratio</code> to fit your needs.</p>
http://ask.sagemath.org/question/45765/dimensions-of-image/?comment=45771#post-id-45771Juanjo you are a lifesaver! I googled this and searched a lot but had no luck. I really appreciate your help given. I owe you my life.Tue, 12 Mar 2019 08:02:55 -0500http://ask.sagemath.org/question/45765/dimensions-of-image/?comment=45771#post-id-45771