[sage-support] plot3d a dataset from text file?

2009-12-14 Thread Daniel Farrell
Hi folks, Plot3d() look amazing! I really like the way lighting is used to because it help understand the shape of the surface. I have a data file that I want to plot using plot3d, so I import the data using numpy.loadtxt. plot3d() only plots functions so I try to interpolate the dataset using

Re: [sage-support] An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python, something that sage devs don't want to do. Unfortunately python is not a very friendly functional programming

[sage-support] Re: plot3d a dataset from text file?

2009-12-14 Thread Jason Grout
Daniel Farrell wrote: Hi folks, Plot3d() look amazing! I really like the way lighting is used to because it help understand the shape of the surface. I have a data file that I want to plot using plot3d, so I import the data using numpy.loadtxt. plot3d() only plots functions so I try to

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread kcrisman
On Dec 14, 9:19 am, Carlos Córdoba ccordob...@gmail.com wrote: I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python, something that sage devs don't want to do.

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
kcrisman wrote: On Dec 14, 9:19 am, Carlos Córdoba ccordob...@gmail.com wrote: I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python, something that sage devs don't

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread kcrisman
Then that sounds like another Python syntax error we could make available. Not sure we'd want to, though. - kcrisman for those coming from Maple.  What does Mathematica do for such anonymous functions (if anything)? #^2+1  (note the is important; it says what comes before is an

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
kcrisman wrote: On Dec 14, 9:19 am, Carlos Córdoba ccordob...@gmail.com wrote: I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python, something that sage devs don't

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Dag Sverre Seljebotn
Jason Grout wrote: kcrisman wrote: On Dec 14, 9:19 am, Carlos Córdoba ccordob...@gmail.com wrote: I don't think it would be so hard to do but this could break interoperability with Python, the language on which Sage is based. Besides it could make Sage like a dialect of python,

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Marshall Hampton
I felt ambivalent about adding the - until this point. If - is going to mean something else in python eventually, it seems like a bad idea to overload it in a Sage-specific way. -Marshall On Dec 14, 10:01 am, Dag Sverre Seljebotn da...@student.matnat.uio.no wrote: Note that - gets a meaning

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage? The problem is that most CAS are functional in nature and the first thing one tries to

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 8:01 AM, Dag Sverre Seljebotn wrote: I don't know if it's a good idea to make this valid Sage syntax, though. I'm on the fence, but leaning towards not favoring it just because of the added complexity and the departure from true Python, and the python version isn't

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread John H Palmieri
On Dec 14, 11:43 am, Carlos Córdoba ccordob...@gmail.com wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage? The problem is

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage? The Mathematica syntax is

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Dag Sverre Seljebotn
Robert Bradshaw wrote: On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage?

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: Robert Bradshaw wrote: On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Carlos Córdoba
2009/12/14 Robert Bradshaw rober...@math.washington.edu On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: Robert Bradshaw wrote: On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jaap Spies
Martin Rubey wrote: Carlos Córdobaccordob...@gmail.com writes: Anyway, the use of anonymous functions is mostly useful on constructs that operate over lists, like map and reduce. In 10 years of using Mathematica I've ever needed to derive this kind functions, but nevertheless I've checked

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Marshall Hampton
Mathematica's syntax can be quite dense, which has the same disadvantage as Perl code in my opinion - it can be hard to read. But sometimes it is nice to be able to do so much concisely. I miss it sometimes. -Marshall On Dec 14, 3:31 pm, Jaap Spies j.sp...@hccnet.nl wrote: I truly hope

[sage-support] Re: Using The VirtualBox Image on Mac OS X

2009-12-14 Thread Marshall Hampton
I have been unable to get any of the virtualbox sages running on my macs. Last time I tried I downloaded virtualbox 3.1, and importing the appliance failed on both my mac pro (running 10.4.11) and my laptop (running 10.5.something). I have had no problems on a windows xp host. -Marshall On Dec

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Alex Ghitza
On Mon, Dec 14, 2009 at 10:31:14PM +0100, Jaap Spies wrote: Martin Rubey wrote: Carlos Córdobaccordob...@gmail.com writes: Anyway, the use of anonymous functions is mostly useful on constructs that operate over lists, like map and reduce. In 10 years of using Mathematica I've ever

[sage-support] Sage 4.2.1 under Windows no longer with VMware?

2009-12-14 Thread murray
Is there no way now to run Sage under Windows (XP) with VMware Workstation -- only with VirtualBox? (I thought VMware Workstation 6.5 should be able to import the virtual appliance beginning with the sage.ovf file, this being, apparently, one of the types of things VMware can import. But I get a

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Christopher Olah
I think that having a way to make anonymous functions is very important. While, as someone relatively new to sage, I haven't used in sage, I use it all the time in math (For example, my prefered definition of the Mandlebrot set is {x|x ∊ ℂ; lim_(n-∞) (λz:z^2+x)ⁿ(0)≠∞} )... I quite like the idea

[sage-support] latex binary and dvips binary

2009-12-14 Thread Mikie
Is the latex and dvips binary installed in the Sage directory? If so where? Thanx -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at

[sage-support] Re: LaTeX size/alignment in SAGE plots

2009-12-14 Thread Jason Grout
ma...@mendelu.cz wrote: No idea, but I observed also similar problems. The first idea was that this is problem from mathplotlib, but I followed the example at http://www.scipy.org/Cookbook/Matplotlib/UsingTex and tried the following P=plot(x^2,(x,-3,3))

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
Christopher Olah wrote: I think that having a way to make anonymous functions is very important. While, as someone relatively new to sage, I haven't used in sage, I use it all the time in math (For example, my prefered definition of the Mandlebrot set is {x|x ∊ ℂ; lim_(n-∞) (λz:z^2+x)ⁿ(0)≠∞}

[sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Jason Grout
Robert Bradshaw wrote: On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: Robert Bradshaw wrote: On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax

[sage-support] Re: zero

2009-12-14 Thread Jason Grout
marcW wrote: hi, I'm really surprised about the consideration for a remark like a newbie like me. Well, we definitely like to listen to people who give suggestions! Of course computational precision is important, the little game i was showing leads to a soluion around 0.1 for ra and

[sage-support] Sorted inconsistent?

2009-12-14 Thread Rolandb
Hi, consider: R.A,B,C=QQ[] print sorted([(A, 3), (A - 2*B, 1)]) print sorted([(-A + 2*B, 1), (A, 3)]) Outcome not equal. Issue of Python or Sage? Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] Sorted inconsistent?

2009-12-14 Thread Mike Hansen
Hello, On Tue, Dec 15, 2009 at 10:50 AM, Rolandb rola...@planet.nl wrote: R.A,B,C=QQ[] print sorted([(A, 3), (A - 2*B, 1)]) print sorted([(-A + 2*B, 1), (A, 3)]) Outcome not equal. Issue of Python or Sage? I don't think they should necessarily be equal as A - 2*B and -A + 2*B are different

[sage-support] Re: Using The VirtualBox Image on Mac OS X

2009-12-14 Thread davidgal...@gmail.com
To add to the mix, I have had no trouble running the virtualbox version of sage on my mac (mini, OS 10.5.8) Dave Galant On Dec 15, 5:40 am, William Stein wst...@gmail.com wrote: On Mon, Dec 14, 2009 at 1:41 PM, Marshall Hampton hampto...@gmail.com wrote: I have been unable to get any of the