* [gentoo-science] [sage-on-gentoo]
@ 2012-02-26 0:18 v_2e
2012-02-26 3:08 ` Francois Bissey
0 siblings, 1 reply; 4+ messages in thread
From: v_2e @ 2012-02-26 0:18 UTC (permalink / raw
To: gentoo-science
Hello!
I have noticed several days ago that when I use the
my_plot.show(xmin=0, ymin=0, frame=True)
to show my plot, I get an image with slightly misplaced surrounding box
boundaries relatively to X and Y axes. They should be at X=0 and Y=0
(in fact, the box boundaries should coincide with the axes in such
case), but they are not.
Here is a sample image:
http://wombat.org.ua/sage-incorrect_axes-box.png
How can I fix this behaviour?
Thank you.
Vladimir
P.S. I'm not sure whether this issue is Gentoo-specific or not,
that's why I decided to ask here first.
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo]
2012-02-26 0:18 [gentoo-science] [sage-on-gentoo] v_2e
@ 2012-02-26 3:08 ` Francois Bissey
2012-02-26 9:40 ` v_2e
2012-02-27 18:14 ` [gentoo-science] [sage-on-gentoo] Plot frame does not coincide with xmin,xmax,ymin,ymax v_2e
0 siblings, 2 replies; 4+ messages in thread
From: Francois Bissey @ 2012-02-26 3:08 UTC (permalink / raw
To: gentoo-science
On Sun, 26 Feb 2012 02:18:49 v_2e@ukr.net wrote:
> Hello!
> I have noticed several days ago that when I use the
> my_plot.show(xmin=0, ymin=0, frame=True)
> to show my plot, I get an image with slightly misplaced surrounding box
> boundaries relatively to X and Y axes. They should be at X=0 and Y=0
> (in fact, the box boundaries should coincide with the axes in such
> case), but they are not.
> Here is a sample image:
> http://wombat.org.ua/sage-incorrect_axes-box.png
>
> How can I fix this behaviour?
> Thank you.
> Vladimir
>
> P.S. I'm not sure whether this issue is Gentoo-specific or not,
> that's why I decided to ask here first.
>
Hi Vladimir,
Has it started after your upgrade to sage-4.8? I'll have to check but
Jason did some work around the default settings for matplotlib.
That may be a consequence.
Francois
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo]
2012-02-26 3:08 ` Francois Bissey
@ 2012-02-26 9:40 ` v_2e
2012-02-27 18:14 ` [gentoo-science] [sage-on-gentoo] Plot frame does not coincide with xmin,xmax,ymin,ymax v_2e
1 sibling, 0 replies; 4+ messages in thread
From: v_2e @ 2012-02-26 9:40 UTC (permalink / raw
To: gentoo-science
Hello!
On Sun, 26 Feb 2012 16:08:30 +1300
Francois Bissey <fbissey@slingshot.co.nz> wrote:
> On Sun, 26 Feb 2012 02:18:49 v_2e@ukr.net wrote:
> > Hello!
> > I have noticed several days ago that when I use the
> > my_plot.show(xmin=0, ymin=0, frame=True)
> > to show my plot, I get an image with slightly misplaced surrounding
> > box boundaries relatively to X and Y axes. They should be at X=0
> > and Y=0 (in fact, the box boundaries should coincide with the axes
> > in such case), but they are not.
> > Here is a sample image:
> > http://wombat.org.ua/sage-incorrect_axes-box.png
> >
> > How can I fix this behaviour?
> > Thank you.
> > Vladimir
> >
> > P.S. I'm not sure whether this issue is Gentoo-specific or not,
> > that's why I decided to ask here first.
> >
> Hi Vladimir,
>
> Has it started after your upgrade to sage-4.8? I'll have to check but
> Jason did some work around the default settings for matplotlib.
> That may be a consequence.
>
I'm not completely sure whether it started only with Sage 4.8. I have
noticed it only recently. Perhaps, on Monday I will have an access to
Sage-4.7 machine and check it out.
But what I have noticed today is that the distance between the box
edges and major ticks on axes depends on the figure size, and not on
the font size like I thought previously.
See for example, this published worksheet:
http://sagenb.org/home/pub/4393/
Vladimir
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] [sage-on-gentoo] Plot frame does not coincide with xmin,xmax,ymin,ymax
2012-02-26 3:08 ` Francois Bissey
2012-02-26 9:40 ` v_2e
@ 2012-02-27 18:14 ` v_2e
1 sibling, 0 replies; 4+ messages in thread
From: v_2e @ 2012-02-27 18:14 UTC (permalink / raw
To: gentoo-science
Hello!
Today I checked this issue on the university machine with Ubuntu and
Sage 4.7. The problem is already there. So it is unlikely to have
appeared in 4.8 only.
Regards,
Vladimir
-----
<v_2e@ukr.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-27 21:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 0:18 [gentoo-science] [sage-on-gentoo] v_2e
2012-02-26 3:08 ` Francois Bissey
2012-02-26 9:40 ` v_2e
2012-02-27 18:14 ` [gentoo-science] [sage-on-gentoo] Plot frame does not coincide with xmin,xmax,ymin,ymax v_2e
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox