[sage-support] Issues plotting a tree

2010-03-02 Thread M. Yurko
Hello, I've recently been creating some diagrams of trees with sage and have run into some difficulties getting the graphs to look decent. I have frequently run into issues with labels of vertices overlapping. Is there anyway to enforce a distance between vertices or otherwise ensure that the

[sage-support] Re: from mpmath complex to sage complex

2009-11-26 Thread M. Yurko
The best way is probably to use mpmath.mpmath_to_sage(). Just note that you have to provide the desired precision as well as the number to convert. On Nov 26, 4:58 pm, Alex Ghitza aghi...@gmail.com wrote: (ccing sage-support in case someone else will have this question at some point) Dear

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread M. Yurko
xs was the list of x coordinates which I created with range (1,1,100). On Feb 19, 9:03 pm, William Stein wst...@gmail.com wrote: On Thu, Feb 19, 2009 at 3:46 PM, M. Yurko myu...@gmail.com wrote: First off, I know that this is specificaly a SAGE issue, but I can't find a matplotlib list

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread M. Yurko
=1000) It saves a graph with labeled axes but no plot. I don't understand the error messages (either for your code or for mine) produced though. On Thu, Feb 19, 2009 at 6:46 PM, M. Yurko myu...@gmail.com wrote: First off, I know that this is specificaly a SAGE issue, but I can't find

[sage-support] Re: OverflowError: math range error in matplotlib

2009-02-20 Thread M. Yurko
, David Joyner wdjoy...@gmail.com wrote: On Fri, Feb 20, 2009 at 4:53 PM, M. Yurko myu...@gmail.com wrote: Sorry, I forgot to post bits24_originial. Its a list of values which were generated completely separately. It is [9, 155, 276, 391, 507, 618, 729, 839, 948, 1052, 1161, 1269, 1376, 1484

[sage-support] OverflowError: math range error in matplotlib

2009-02-19 Thread M. Yurko
First off, I know that this is specificaly a SAGE issue, but I can't find a matplotlib list, so I'm hoping that someone here can help. I recieve an error when executing the following code in the notebook: #Create the graph import pylab pylab.clf() pylab.figure(1) pylab.plot(xs, bits24_original,

[sage-support] Bug in load_session

2008-12-30 Thread M. Yurko
I have recently been using save_session a bit, and I uncovered what I believe is a bug. If the worksheet of the session that I'm trying to save contains a cython function, then load_session chokes. For example: var1 = 1 var2 = 2 var3 = srange(1,1) var4 = range(1,3000) var5 = 1234.123456

[sage-support] Re: Arbitrary precision in cython

2008-12-22 Thread M. Yurko
to the requested, but overall, I didn't see a single major deviation (although that obviously isn't concrete proof). On Dec 22, 2:17 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 22, 2008, at 8:28 AM, M. Yurko wrote: When I timed these functions over 1 through 700 at 53 bits

[sage-support] Arbitrary precision in cython

2008-12-21 Thread M. Yurko
I have recently been experimenting with converting some simple python functions that I have made into cython. I have been quite impressed by how simple it is for the massive speed increases that I have seen. However, one thing that is mildly annoying at times is the limitation to double precision

[sage-support] Bug in the Ei function

2008-12-15 Thread M. Yurko
I have noticed recently that when evaluating the EI function at any number over 20, it adds 2pi i, which shouldn't be there. After looking at the code it appears that it uses scipy, so the error is probably there. However, when looking for alternatives, I found the exponential_integral_1 from

[sage-support] Re: Bug in the Ei function

2008-12-15 Thread M. Yurko
someone can fill out a trac report for the issue? On Mon, Dec 15, 2008 at 7:13 PM, M. Yurko myu...@gmail.com wrote: I have noticed recently that when evaluating the EI function at any number over 20, it adds 2pi i, which shouldn't be there. After looking at the code it appears that it uses

[sage-support] Re: JsMath issue

2008-12-01 Thread M. Yurko
Thanks for your responses. The reason that I didn't install the extra Tex fonts explicitly is because I thought that the jsmath-fonts package contained them already, however, I'll try and explicitly download them into that directory. On Dec 1, 11:00 am, Jason Grout [EMAIL PROTECTED] wrote: Stan

[sage-support] Re: Notebook can't view files

2008-11-08 Thread M. Yurko
a year ago, and I have not had problems since. -M. Hampton On Nov 8, 10:06 pm, William Stein [EMAIL PROTECTED] wrote: On Fri, Nov 7, 2008 at 4:30 PM, M. Yurko [EMAIL PROTECTED] wrote: I recently upgraded to the new version (3.1.4), and I can't view any of the worksheets that I create

[sage-support] Re: Notebook can't view files

2008-11-08 Thread M. Yurko
If its a problem with permissions, then how would I verify this and fix it. I've only been using linux for about 8 months On Nov 8, 5:48 pm, Timothy Clemans [EMAIL PROTECTED] wrote: That sounds like a problem with permissions. On Sat, Nov 8, 2008 at 4:32 PM, M. Yurko [EMAIL PROTECTED] wrote

[sage-support] Re: Notebook can't view files

2008-11-08 Thread M. Yurko
OK, I typed that line in and I got no output and no errors. On Nov 8, 6:12 pm, William Stein [EMAIL PROTECTED] wrote: On Sat, Nov 8, 2008 at 3:03 PM, M. Yurko [EMAIL PROTECTED] wrote: If its a problem with permissions, then how would I verify this and fix it. I've only been using linux

[sage-support] Notebook can't view files

2008-11-07 Thread M. Yurko
I recently upgraded to the new version (3.1.4), and I can't view any of the worksheets that I create. When I open up the notebook, no worksheets are present even after I created a new one. I checked the sage_notebook folder, and the files are being created, but for some reason they are not

[sage-support] Re: Li(x) in the complex domain

2008-06-11 Thread M. Yurko
[EMAIL PROTECTED] wrote: On Tue, Jun 10, 2008 at 7:50 PM, M. Yurko [EMAIL PROTECTED] wrote: Thanks again to everyone who tried to assist me. I was able to use the incomplete gamma function already in sage to compute Li(x) for complex inputs. For the speed that I need this works fine. However

[sage-support] Re: Li(x) in the complex domain

2008-06-11 Thread M. Yurko
that I have no background in complex analysis and that my above statements about domain are only based upon experimentation. -- Mike On Jun 11, 10:03 am, M. Yurko [EMAIL PROTECTED] wrote: Sure. My current code is a bit messy, so I'll clean it up and make an example. However, one thing to note

[sage-support] Re: Li(x) in the complex domain

2008-06-11 Thread M. Yurko
that I have no background in complex analysis and that my above statements about domain are only based upon experimentation. -- Mike On Jun 11, 10:03 am, M. Yurko [EMAIL PROTECTED] wrote: Sure. My current code is a bit messy, so I'll clean it up and make an example. However, one thing to note

[sage-support] Re: Li(x) in the complex domain

2008-06-11 Thread M. Yurko
I made a few modifications so it now works everywhere but (0,1) On Jun 11, 1:45 pm, William Stein [EMAIL PROTECTED] wrote: On Wed, Jun 11, 2008 at 8:07 AM, M. Yurko [EMAIL PROTECTED] wrote: O.K. I defined li(x) as follows: def li(z): #def log integral for real and complex variables

[sage-support] Re: Li(x) in the complex domain

2008-06-11 Thread M. Yurko
)) On Jun 11, 1:45 pm, William Stein [EMAIL PROTECTED] wrote: On Wed, Jun 11, 2008 at 8:07 AM, M. Yurko [EMAIL PROTECTED] wrote: O.K. I defined li(x) as follows: def li(z): #def log integral for real and complex variables    if z in RR and z = 2: #check if real number greater than 2

[sage-support] Re: Li(x) in the complex domain

2008-06-10 Thread M. Yurko
After a little more searching, it appears that I should use a Pseudo tty( right?). However, the programming guide gives no information on how to actually do this. Any help would be greatly appreciated (copying and pasting input and output is less than ideal). On Jun 10, 10:15 am, M. Yurko [EMAIL

[sage-support] Li(x) in the complex domain

2008-06-07 Thread M. Yurko
Is there any way for SAGE to calculate Li(x) (logarithmic integral) for complex inputs? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit