[sage-devel] Re: spherical plot

2010-01-08 Thread Oscar Lazo
> Sounds like the CCLI team might > have another example of how development is driven. What is that, CCLI team? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit

[sage-devel] Re: spherical plot

2010-01-08 Thread kcrisman
On Jan 8, 2:17 pm, Oscar Lazo wrote: > > Just FYI, we don't have access to your home directory on sagenb :) so > > you may want to publish that, with the option that it updates when you > > make further refinements. > > Yes, that was not the right link, this one > ishttp://www.sagenb.org/home/p

[sage-devel] Re: spherical plot

2010-01-08 Thread Oscar Lazo
> Just FYI, we don't have access to your home directory on sagenb :) so > you may want to publish that, with the option that it updates when you > make further refinements. Yes, that was not the right link, this one is http://www.sagenb.org/home/pub/1328/ BTW: it was already published -- To post

[sage-devel] Re: spherical plot

2010-01-08 Thread kcrisman
On Jan 8, 12:51 pm, Oscar Lazo wrote: > I've finished adding Jason's code and suggestions. Those can be found > at > > http://www.sagenb.org/home/omologos/9/ > Just FYI, we don't have access to your home directory on sagenb :) so you may want to publish that, with the option that it updates whe

[sage-devel] Re: spherical plot

2010-01-08 Thread Oscar Lazo
I've finished adding Jason's code and suggestions. Those can be found at http://www.sagenb.org/home/omologos/9/ and the corresponding tickets at http://trac.sagemath.org/sage_trac/ticket/7850 http://trac.sagemath.org/sage_trac/ticket/7869 http://trac.sagemath.org/sage_trac/ticket/7872 I still ha

[sage-devel] Re: spherical plot

2010-01-06 Thread Jason Grout
Oscar Lazo wrote: On 6 ene, 12:23, Jason Grout wrote: That was an intentionally simple example to illustrate the problem. Here's something that is more nontrivial: def f(x,y): if x>pi: return y else: return -y spherical_plot3d(f, (x,0,2*pi), (y,0,pi)) I have no idea how

[sage-devel] Re: spherical plot

2010-01-06 Thread Oscar Lazo
On 6 ene, 12:23, Jason Grout wrote: > That was an intentionally simple example to illustrate the problem. > Here's something that is more nontrivial: > def f(x,y): >     if x>pi: >        return y >     else: >        return -y > > spherical_plot3d(f, (x,0,2*pi), (y,0,pi)) I have no idea how to m

[sage-devel] Re: spherical plot

2010-01-06 Thread Jason Grout
Oscar Lazo wrote: On 6 ene, 01:16, Jason Grout wrote: I've made some comments athttp://trac.sagemath.org/sage_trac/ticket/7850 I saw your comments (i'll edit the ticket when i'm sure how many of those there should be). 1. To be consistent with the plotting functions, it would also need to s

[sage-devel] Re: spherical plot

2010-01-06 Thread Oscar Lazo
On 6 ene, 01:16, Jason Grout wrote: > I've made some comments athttp://trac.sagemath.org/sage_trac/ticket/7850 I saw your comments (i'll edit the ticket when i'm sure how many of those there should be). > 1. To be consistent with the plotting functions, it would also need to > support something

[sage-devel] Re: spherical plot

2010-01-05 Thread Jason Grout
Oscar Lazo wrote: I have published my own transform_plot3d http://www.sagenb.org/home/pub/1323/ I was unaware of yours. Thanks again for working on this! I've made some comments at http://trac.sagemath.org/sage_trac/ticket/7850 Thanks, Jason -- To post to this group, send an email to sage-

[sage-devel] Re: spherical plot

2010-01-05 Thread Oscar Lazo
I have published my own transform_plot3d http://www.sagenb.org/home/pub/1323/ I was unaware of yours. On 5 ene, 10:48, Jason Grout wrote: > The following is what I'd like to think of as the "standard" way: > > plot(f, (var1, var1_start, var1_end), (var2, var2_start, var2_end)) That's how i made

[sage-devel] Re: spherical plot

2010-01-05 Thread Jason Grout
Oscar Lazo wrote: On 5 ene, 09:45, Jason Grout wrote: This is fantastic! Thank you very much. You are very welcome :D If you have the time or inclination, maybe you could also generalize this to a cylindrical coordinate plotting function. In fact, I wonder how easy it would be to make a f

[sage-devel] Re: spherical plot

2010-01-05 Thread Jason Grout
Oscar Lazo wrote: On 5 ene, 09:45, Jason Grout wrote: This is fantastic! Thank you very much. You are very welcome :D If you have the time or inclination, maybe you could also generalize this to a cylindrical coordinate plotting function. In fact, I wonder how easy it would be to make a f

[sage-devel] Re: spherical plot

2010-01-05 Thread Oscar Lazo
On 5 ene, 08:21, mhampton wrote: > Congratulations!  Do you have a trac account yet? I probably have one, but i can't remember my username. I'll ask wstein for help ;-) > One thing you probably want to change is the assumption of variables > phi and theta.  I recommend looking at the source of

[sage-devel] Re: spherical plot

2010-01-05 Thread Oscar Lazo
On 5 ene, 09:45, Jason Grout wrote: > This is fantastic!  Thank you very much. You are very welcome :D > If you have the time or inclination, maybe you could also generalize > this to a cylindrical coordinate plotting function.  In fact, I wonder > how easy it would be to make a function that to

[sage-devel] Re: spherical plot

2010-01-05 Thread Jason Grout
Oscar Lazo wrote: > Well, this is basically a clone of mathematicas "SphericalPlot3d" only > that i thought the 3d was redundant. > > I've published the function here: http://www.sagenb.org/pub/1319/ . > And cloned the examles in > http://reference.wolfram.com/mathematica/ref/SphericalPlot3D.html

[sage-devel] Re: spherical plot

2010-01-05 Thread mhampton
Congratulations! Do you have a trac account yet? One thing you probably want to change is the assumption of variables phi and theta. I recommend looking at the source of something such as plot_vector_field3d.py (in plot/plot3d) for an example of setting up the arguments using setup_for_eval_on_g