[sage-devel] Re: Log scale in plot

2008-11-17 Thread Alex Clemesha
On Sun, Nov 16, 2008 at 11:01 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Sun, Nov 16, 2008 at 9:39 PM, Alex Clemesha <[EMAIL PROTECTED]> wrote: >> >> On Sun, Nov 16, 2008 at 10:03 AM, mhampton <[EMAIL PROTECTED]> wrote: >>> >>> I think this sounds great, I give a hearty +1. >>> >>> I've g

[sage-devel] Re: Log scale in plot

2008-11-17 Thread Jason Grout
William Stein wrote: > > Is there any code in matplotlib for actually drawing x and y axis? > I mean, since you're saying their code is way better than yours > for doing that, maybe you can confirm they actually have code > for doing that? :-) > I emailed the matplotlib list. My message and the

[sage-devel] Re: Log scale in plot

2008-11-17 Thread Ronan Paixão
Em Dom, 2008-11-16 às 19:53 -0800, William Stein escreveu: > On Sun, Nov 16, 2008 at 7:06 PM, Mike Hansen <[EMAIL PROTECTED]> wrote: > > > >> Most other math packages out there (or at least Mma and Matlab) use > >> frames instead of just axes. What I would recommend instead of using > >> axes is t

[sage-devel] Re: Log scale in plot

2008-11-17 Thread Konrad Meyer
2008/11/16 William Stein <[EMAIL PROTECTED]>: > > On Sun, Nov 16, 2008 at 11:13 PM, Tim Lahey <[EMAIL PROTECTED]> wrote: >> >> On Nov 17, 2008, at 2:01 AM, William Stein wrote: >> >>> >>> Is there any code in matplotlib for actually drawing x and y axis? >>> I mean, since you're saying their

[sage-devel] Re: Log scale in plot

2008-11-16 Thread Tim Lahey
On Nov 17, 2008, at 2:21 AM, William Stein wrote: > > Sage can't depend on pyx, because pyx requires latex. So that > doesn't seem to be an option. Also, some of Sage's 2d plotting > already depends quite heavily on matplotlib, e.g., contour plots. > > Possibly we could copy the code out of py

[sage-devel] Re: Log scale in plot

2008-11-16 Thread William Stein
On Sun, Nov 16, 2008 at 11:13 PM, Tim Lahey <[EMAIL PROTECTED]> wrote: > > On Nov 17, 2008, at 2:01 AM, William Stein wrote: > >>> >> >> Is there any code in matplotlib for actually drawing x and y axis? >> I mean, since you're saying their code is way better than yours >> for doing that, maybe yo

[sage-devel] Re: Log scale in plot

2008-11-16 Thread Tim Lahey
On Nov 17, 2008, at 2:01 AM, William Stein wrote: >> > > Is there any code in matplotlib for actually drawing x and y axis? > I mean, since you're saying their code is way better than yours > for doing that, maybe you can confirm they actually have code > for doing that? :-) > Matplotlib is gear

[sage-devel] Re: Log scale in plot

2008-11-16 Thread William Stein
On Sun, Nov 16, 2008 at 9:39 PM, Alex Clemesha <[EMAIL PROTECTED]> wrote: > > On Sun, Nov 16, 2008 at 10:03 AM, mhampton <[EMAIL PROTECTED]> wrote: >> >> I think this sounds great, I give a hearty +1. >> >> I've gotten frustrated in the past by the plotting code. Being "more >> closely tied to ma

[sage-devel] Re: Log scale in plot

2008-11-16 Thread Alex Clemesha
On Sun, Nov 16, 2008 at 10:03 AM, mhampton <[EMAIL PROTECTED]> wrote: > > I think this sounds great, I give a hearty +1. > > I've gotten frustrated in the past by the plotting code. Being "more > closely tied to matplotlib" would be nice for lots of reasons. I as well support utilizing matplotlib

[sage-devel] Re: Log scale in plot

2008-11-16 Thread William Stein
On Sun, Nov 16, 2008 at 7:06 PM, Mike Hansen <[EMAIL PROTECTED]> wrote: > >> Most other math packages out there (or at least Mma and Matlab) use >> frames instead of just axes. What I would recommend instead of using >> axes is to use correctly placed grids, which is done with grids(True) >> and o

[sage-devel] Re: Log scale in plot

2008-11-16 Thread Mike Hansen
> Most other math packages out there (or at least Mma and Matlab) use > frames instead of just axes. What I would recommend instead of using > axes is to use correctly placed grids, which is done with grids(True) > and one can also customize grid placement with xticks() and yticks(), > though I do

[sage-devel] Re: Log scale in plot

2008-11-16 Thread Ronan Paixão
Em Dom, 2008-11-16 às 11:44 -0800, William Stein escreveu: > > Additionally, I think the Graphics wrapper should not be nearly as > > heavy as it is. In particular, there's no way to get at and modify > > the matplotlib subplot object. For example, I have some preliminary > > code that would let

[sage-devel] Re: Log scale in plot

2008-11-16 Thread William Stein
> Additionally, I think the Graphics wrapper should not be nearly as > heavy as it is. In particular, there's no way to get at and modify > the matplotlib subplot object. For example, I have some preliminary > code that would let one do this: > > sage: p = plot(e^x, 1, 5) > sage: p.subplot.set_x

[sage-devel] Re: Log scale in plot

2008-11-16 Thread mhampton
I think this sounds great, I give a hearty +1. I've gotten frustrated in the past by the plotting code. Being "more closely tied to matplotlib" would be nice for lots of reasons. The matplotlib documentation is pretty good, and maybe some of what we do could find its way upstream in Mike's appr

[sage-devel] Re: Log scale in plot

2008-11-16 Thread Mike Hansen
Hello, On Sat, Nov 15, 2008 at 11:06 AM, Ronan Paixão <[EMAIL PROTECTED]> wrote: > > Em Sex, 2008-11-14 às 16:22 -0200, Ronan Paixão escreveu: >> I recently thought about implementing more functions used by non-math >> people (I'm an Electronic Engineering student). >> >> I started by trying to m

[sage-devel] Re: Log scale in plot

2008-11-15 Thread Ronan Paixão
Em Sex, 2008-11-14 às 16:22 -0200, Ronan Paixão escreveu: > I recently thought about implementing more functions used by non-math > people (I'm an Electronic Engineering student). > > I started by trying to make a Bode plot, but after a lot of digging to > find how to make subplots and how to us