[sage-support] Output processing and formatting delay in Notebook

2012-01-09 Thread Eugene Goldberg
Hello! This code in Sage Notebook: for i in range(7): html('scriptalert(Text %g);/script' % i) time.sleep(1) gives no alert messages before cell completely calculated? Is there any way to force immediate output processing? P.S. Sorry for duplicating question, it has already posted at

[sage-support] Unicode characters in axes labels?

2011-12-05 Thread Eugene Goldberg
Hello! I am trying to use unicode characters in axes labels and it fails with exception: P = plot_step_function([(i,prime_pi(i)) for i in range(20)],thickness=2,color='black') P.show(axes=False,frame=True,axes_labels=('текс','x')) Traceback (most recent call last): File stdin, line 1, in

[sage-support] Re: Notebook data cache

2011-05-09 Thread Eugene Goldberg
My temporary solution - removing all *.sobj, *.gif, *.png, *.zip files and all snapshots directories. Now .sage direcotory is 13 Mb only! Also, I have found for myself important tip: while using DATA directory manually for saving objects (*.sobj files) no one will manage it content for you, and

[sage-support] Re: Notebook data cache

2011-05-09 Thread Eugene Goldberg
P.S. It is also ok to remove dap directory content. -- 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

[sage-support] Notebook data cache

2011-05-07 Thread Eugene Goldberg
Hello! I am using Sage with Notebooks for some time, and my .sage directory now is 129 Mb. I believe it is impossible for me to write so much code (text), that means most of this space comes from notebook cache (images, for example). Is there some easy way to remove cache? Best regards. -- To

[sage-support] Additional functions

2010-11-20 Thread Eugene Goldberg
Hi all! I am using sage from time to time for a year in education. Unfortunately, I couldn't find default functions to do some operations, so I wrote my own functions. For now here are just a few functions, but I believe in time I'll describe them all. I've placed them in Google Code project

[sage-support] Why save method calls show?

2010-11-14 Thread Eugene Goldberg
Hi! I want to save my plot using notebook: plot(sin,0,4).save('foo.png') this code saves my plot, but also calls show method (or something like that) and I have plot in output. Is it possible only to save plot, without any output at all? -- To post to this group, send email to

[sage-support] How to add grid lines to plot?

2010-05-06 Thread Eugene Goldberg
Hello! There is plot: p=plot(sin,0,2*pi) How to add grid lines to this plot? -- 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] Difference between sage and pyhton calculations

2010-04-05 Thread Eugene Goldberg
Hello! Here is my pyhtons results: python Python 2.6.5 (r265:79063, Mar 23 2010, 04:49:54) [GCC 4.4.3] on linux2 Type help, copyright, credits or license for more information. 1+1 2 6e-6 % 10e-6 6.0002e-06 and here is sage: ./ sage Sage Version 4.3.5, Release Date: 2010-03-28

[sage-support] Re: Difference between sage and pyhton calculations

2010-04-05 Thread Eugene Goldberg
P.S. I've also got wrong result at http://sagenb.kaist.ac.kr/ server. On Apr 6, 3:56 am, Eugene Goldberg omegat...@gmail.com wrote: Hello! Here is my pyhtons results: python Python 2.6.5 (r265:79063, Mar 23 2010, 04:49:54) [GCC 4.4.3] on linux2 Type help, copyright, credits or license

[sage-support] Print only outputs?

2010-04-01 Thread Eugene Goldberg
Hi! Is it possible to print only output content of worksheet? -- 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] An easy way to plot 2d array?

2010-02-15 Thread Eugene Goldberg
Could you suggest one? I've seen this, but i think it's not a good solution.. contour_plot(lambda x,y: data[int(x)][int(y)],(x,0,len(data)-1),(y, 0,len(data[0])-1)) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] How to contour_plot piecewise defined function?

2010-02-02 Thread Eugene Goldberg
Hi! I've got a few functions like this: f1(x,y)=sin(x)+cos(y) f2(x,y)=sin(y)+cos(x) and I need to plot counter graphics like: contour_plot(lambda x,y:f1(x,y),(x,0,3),(y,0,14))+contour_plot(lambda x,y:f2(x,y),(x,3,6),(y,0,14)) can i do this easily using piecewise function? g=Piecewise([

[sage-support] Problem installing sage on ArchLinux.

2010-01-03 Thread Eugene Goldberg
Hello, I've got two computers with archlinux (i686 and x86_64 versions) and on both machines there is same problem installing sage: $make File /home/ajunta/Binary/sage-4.3-linux-Ubuntu_9.10-x86_64-Linux/ local/lib/python2.6/site-packages/sage/interfaces/gap.py, line 362, in _start

[sage-support] Re: Problem installing sage on ArchLinux.

2010-01-03 Thread Eugene Goldberg
(PST), Eugene Goldberg omegat...@gmail.com wrote: I've got two computers with archlinux (i686 and x86_64 versions) and on both machines there is same problem installing sage: $make   File /home/ajunta/Binary/sage-4.3-linux-Ubuntu_9.10-x86_64-Linux/ local/lib/python2.6/site

[sage-support] Re: Integration of piecewise function

2009-12-13 Thread Eugene Goldberg
So... There is no solution? On Dec 9, 6:03 pm, Sand Wraith omegat...@gmail.com wrote: Does anyone know is this issue only for newest version? (may be I should use older version of sage) On 8 дек, 21:47, David Joyner wdjoy...@gmail.com wrote: Unfortunately, the piecewise class was written

[sage-support] How to plot tree-dimensional array?

2009-12-09 Thread Eugene Goldberg
Hello, Could you please advice the way to plot three-dimensional array? Something like plot3d or counter_plot, but in case the data are already calculated in array and there is no way to call f(x,y). Best regards, Eugene. -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: How to plot tree-dimensional array?

2009-12-09 Thread Eugene Goldberg
Thank you both! Your examples and suggestions are very useful and it solved my problem. -- 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