[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 labe

[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 wrote: > (ccing sage-support in case someone else will have this question at > some point) > > Dear Fredrik, > > It s

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

2009-02-20 Thread M. Yurko
55 pm, David Joyner wrote: > On Fri, Feb 20, 2009 at 4:53 PM, M. Yurko 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, >

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

2009-02-20 Thread M. Yurko
.") > > sage: pylab.ylabel("iterations") > > > > sage: pylab.xlabel("x") > > > > sage: pylab.grid(b=True) > > sage: pylab.savefig('/home/wdj/sagefiles/graph.svg',dpi=1000) > > > It saves a graph with labeled axes but no plo

[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 wrote: > On Thu, Feb 19, 2009 at 3:46 PM, M. Yurko wrote: > > > First off, I know that this is specificaly a SAGE issue, but I can't > > find a matplotlib l

[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, l

[sage-support] Re: Bug in load_session

2009-01-02 Thread M. Yurko
wrote: > On Tue, Dec 30, 2008 at 1:32 PM, M. Yurko wrote: > > > 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.

[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 %cyt

[sage-support] Re: Problem with the wiki

2008-12-30 Thread M. Yurko
Thanks, it works once I use your link. On Dec 30, 10:59 am, mabshoff wrote: > On Dec 30, 7:55 am, "M. Yurko" wrote: > > Hi, > > > I just tried to access the wiki, and it keeps giving me this message: > > > Warning: > > You triggered the wiki's su

[sage-support] Problem with the wiki

2008-12-30 Thread M. Yurko
I just tried to access the wiki, and it keeps giving me this message: Warning: You triggered the wiki's surge protection by doing too many requests in a short time. Please make a short break reading the stuff you already got. When you restart doing requests AFTER that, slow down or you might get

[sage-support] Re: Arbitrary precision in cython

2008-12-22 Thread M. Yurko
precision 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 wrote: > On Dec 22, 2008, at 8:28 AM, M. Yurko wrote: > > > When I timed these functions over 1 through 700

[sage-support] Re: Arbitrary precision in cython

2008-12-22 Thread M. Yurko
ng.  If > > so, you can use Sage's function Ei() which calls scipy's > > special.exp1(). > > Watch out, since scipy is double precision only. > > Pari has a real-only exponential integral that is arbitrary precision though. > >  -- William > > > > >

[sage-support] Re: Arbitrary precision in cython

2008-12-22 Thread M. Yurko
he .c file that cython generated, it seems to be doing a lot of conversions as simply initializing sum_current took almost 20 long lines of code. On Dec 22, 10:24 am, "Mike Hansen" wrote: > Hello, > > On Mon, Dec 22, 2008 at 6:10 AM, M. Yurko wrote: > > > Thanks for

[sage-support] Re: Arbitrary precision in cython

2008-12-22 Thread M. Yurko
c 21, 2008 at 1:44 PM, M. Yurko wrote: > > > 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. > > Howeve

[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] Re: Bug in the Ei function

2008-12-15 Thread M. Yurko
ode in an email, so someone can fill out a trac > report for the issue? > > On Mon, Dec 15, 2008 at 7:13 PM, M. Yurko 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 looki

[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 PARI

[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: > St

[sage-support] JsMath issue

2008-11-29 Thread M. Yurko
I recently installed sage 3.2 (from binary) on an Ubuntu 8.10 server and recently ran into an issue with JsMath. Whenever I try and typeset anything it gives me an error "It looks like jsMath failed to set up properly (error code -7). I will try to keep going, but it could get ugly" and then prin

[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 t

[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

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

2008-11-08 Thread M. Yurko
r filed a ticket), but that > was about 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: > >

[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 showing

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

2008-06-11 Thread M. Yurko
)/2- log(-log(z)) 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
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

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

2008-06-11 Thread M. Yurko
. Please note 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

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

2008-06-11 Thread M. Yurko
. Please note 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

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

2008-06-11 Thread M. Yurko
un 10, 11:02 pm, "William Stein" <[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 com

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

2008-06-10 Thread M. Yurko
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, this should be impetus for me to try and learn Cython. On Jun 10, 8:04 pm, "William Stein" <[EM

[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.

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

2008-06-10 Thread M. Yurko
Jun 7, 4:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > On Sat, Jun 7, 2008 at 12:54 PM, M. Yurko <[EMAIL PROTECTED]> wrote: > > > > Is there any way for SAGE to calculate Li(x) (logarithmic integral) > > > for complex inputs? > > &g

[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