[sage-support] Bug in the cone display?

2011-11-28 Thread Mel
() Thanks! Any help is appreciated! Mel Dunn -- 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 http://groups.google.com/group/sage-support URL: http

[sage-support] Bug in the cone display?

2011-11-14 Thread Mel
() Thanks!!! Mel Dunn -- 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 http://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: Netwon Polygon?

2011-10-31 Thread Mel
Thanks so much! That was an easy fix. -- 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 http://groups.google.com/group/sage-support URL: http://www.s

[sage-support] Netwon Polygon?

2011-10-19 Thread Mel
Hi, Is there any way in sage to get the Newton Polygon of a polynomial in x and y? I am seeing references to a newton_polygon() method in some discussions but I cannot find such a method in the manual. Example: f(x,y) = x^2*y^2 + x + 1 Newton Polygon: [(2,2), (1,0), (0,0)] Thanks! Mel -- To

[sage-support] Re: Using the Macaulay2 Interface--Variables defined outside of Macaulay2?

2011-09-12 Thread Mel
As I've tried to work on this issue, I've encountered another (smaller) problem. I got the following from the sage command line-- sage: macaulay2.eval('y = 10') 10 sage: macaulay2('y - 3') 7 However, when I type the following into the sage notebook-- macaulay2.eval('y = 10') macaulay2('y - 3')

[sage-support] Using the Macaulay2 Interface--Variables defined outside of Macaulay2?

2011-09-12 Thread Mel
alPrimes to: argument : id (of class ScriptedFunctor) Inside the macaulay2 block, it seems that id is not the ideal type any more, and I don't know how I can make it an ideal. Any help? Thanks! Mel DUnn -- To post to this group, send email to sage-support@googlegroups.com To uns

[sage-support] Re: Running Macaulay2 inside a sage script

2011-07-25 Thread Mel
Perhaps I should clarify a couple more things: I have figured out how to do simple Macaulay 2 commands inside a sage script as follows: macaulay2("S = ZZ/101[t_1 .. t_9, u_1 .. u_9]") However, many of my commands are not working. The code in Macaulay2 which I would like to execute from sage loo

[sage-support] Running Macaulay2 inside a sage script

2011-07-25 Thread Mel
sible to switch back and forth this way? I have found very little in the sage documentation that even addresses Macaulay2. Thanks! Mel Dunn -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroup

[sage-support] Polynomials Mod 7

2011-07-13 Thread Mel
Hi, I've been having an issue with a program I've written in sage. I need to calculate a polynomial mod 7. When I do this using the command line, I don't have any trouble. Example: sage: x = var('x') sage: y = var('y') sage: IntegerPolyRing. = ZZ[] sage: ideal = -6*x - y sage: ideal = IntegerPo

[sage-support] Re: Error: Converting from p-adics to rationals.

2011-06-16 Thread Mel
Here is the code that can be pasted into sage to produce the error: sage: K=Qp(7,5) sage: Q=QQ sage: a=344 sage: b=K(a) sage: a=Q(b) -- 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

[sage-support] Re: Error: Converting from p-adics to rationals.

2011-06-16 Thread Mel
I do want to convert to an integer in this particular case...but integers are rationals, so I don't understand why I don't just get the integer 344 when I try the following code: sage: K=Qp(7,5) sage: Q=QQ sage: a=344 sage: b=K(a) sage: a=Q(b) -- To post to this group, send email to sage-support

[sage-support] Re: Legend Options in 2D Plots? Title Options in 3D plots?

2011-06-01 Thread Mel
You're right. I downloaded the most recent version of sage and everything is fine :) On May 25, 10:07 pm, "D. S. McNeil" wrote: > > 1 - On 2D plots, I have been unable to use the legend() attribute and > > the set_legend_options() attribute. > > I don't think you have those methods.  I think you'

[sage-support] Re: Import Ellipse module?

2011-06-01 Thread Mel
It turns out I needed to update my version of Sage. I've fixed the problem :) On May 27, 7:59 am, Rajeev Singh wrote: > On Thu, May 26, 2011 at 10:26 PM, Mel wrote: > > Do I need to download/load something before I can import the ellipse > > module? > >

[sage-support] Import Ellipse module?

2011-05-26 Thread Mel
Do I need to download/load something before I can import the ellipse module? When I type from sage.plot.ellipse import Ellipse I get "ImportError: No module named ellipse" Thanks! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send emai

[sage-support] Legend Options in 2D Plots? Title Options in 3D plots?

2011-05-25 Thread Mel
I have two issues: 1 - On 2D plots, I have been unable to use the legend() attribute and the set_legend_options() attribute. The commands g = plot(x) g.legend() give me the error "AttributeError: 'Graphics' object has no attribute 'legend'" Also, I have been unable to label the l

[sage-support] Error: Converting from p-adics to rationals.

2011-05-25 Thread Mel
I'm having an issue with converting between p-adic and rational numbers. Specifically, there are certain p-adic numbers that I cannot convert to rationals. As an example, if 1+7^3+O(7^5) is a 7-adic integer with capped relative precision 5, I cannot convert it to a rational. I get the error "Value