Ask Your Question

Erez's profile - activity

2023-03-19 19:03:28 +0200 received badge  Taxonomist
2019-02-22 11:44:29 +0200 received badge  Famous Question (source)
2019-02-22 11:44:29 +0200 received badge  Popular Question (source)
2019-02-22 11:44:29 +0200 received badge  Notable Question (source)
2015-08-05 03:14:52 +0200 received badge  Famous Question (source)
2014-06-29 06:56:28 +0200 received badge  Notable Question (source)
2014-06-29 06:56:28 +0200 received badge  Famous Question (source)
2014-06-29 06:56:28 +0200 received badge  Popular Question (source)
2014-04-11 08:31:39 +0200 received badge  Famous Question (source)
2013-09-01 22:50:28 +0200 received badge  Notable Question (source)
2013-08-11 22:26:56 +0200 received badge  Notable Question (source)
2013-04-13 11:18:43 +0200 received badge  Popular Question (source)
2013-03-13 16:51:35 +0200 received badge  Popular Question (source)
2012-08-03 08:06:08 +0200 received badge  Student (source)
2012-07-04 06:16:41 +0200 answered a question How to save Sage worksheets to use on a different computer.

Hey man, just open your worksheet, go to 'file' on the left side on the top of the page, then --> 'save worksheet to a file' and u can save it anywhere you want. Now upload it. U can also try 2 use 'share' on the right side, top of the page. Hope this is what u asked...

2012-07-04 06:04:18 +0200 asked a question Any simple way to divert calculations in Sage to the graphics card?

Hey,

I'm fairly new to Sage, pls accept my question under this comment:

I've heard that diverting calculations to the graphics card might speed up running time. Person I heard it from uses C and Matlab. How true is it? And if so - is there a simple way to do this in Sage?

I'm looking for any good advice on how to speed up my calculations, I have installed Ubuntu 12.04 for Sage, and stoped any programs from running in the background when I'm running my code. I try to achieve as much power I can get from my computer solely for the purpose of my calculation.

Thanking u on advence!

2012-07-01 12:10:50 +0200 commented answer How do I create a log plot of line data?

Moreover, I wish I could get the labels in shape of - 4X10^(-1), 4X10^0,...4X10^5... - Not as - 0.4,4,...,400000. Any hope?? - Appreciate your help a lot!

2012-07-01 12:07:47 +0200 commented answer How do I create a log plot of line data?

Hey, this seems to give nice results in terms of the shape of the graphs, but I don't get lables on the 'X' axis this way so I can't tell... Even in your example, change the - 4 in the 'tloc(4)' to 10 , and u don't get any lables, ('2' will give you only one lable , for - 0.2)...

2012-07-01 12:07:46 +0200 commented answer How do I create a log plot of line data?

Hey, this seems to give nice results in terms of the shape of the graphs, but I don't get lables on the 'X' axis this way so I can't tell... Even in your example, change the - 4 in the 'tloc(4)' to 10 , and u don't get any lables, ('2' will give you only one lable , for - 0.2)...

2012-07-01 04:31:29 +0200 commented question Calculation taking too long, stats from scipy may be the problem?

O.K, thanks man

2012-06-27 06:40:04 +0200 commented question Calculation taking too long, stats from scipy may be the problem?

- Also, can it be that because Sage and Python are not as basic as programming languages such as C and Fortran etc. - every calculation in them is always bound to take much longer time then in the others??

2012-06-27 06:34:40 +0200 asked a question Calculation taking too long, stats from scipy may be the problem?

Hey!

I have a question regarding a calculation I'm running. The code includes only 2 loops, one inside another, and some calculus inside. The loop run over many iterations (~100000X100000), but it is not an excuse for the calculation to be taking (so far...!) over 20 hours!

  • The calcultation inside the loops is a fairly simple one: W[k]=W[k]+1/2...+..., but - i also include - sqrt(bla bla bla)stats.norm.rvs . One of the reasons for the ridiculously long calculation time, as I heard, might the calling for library from Scipy, where - as it means calling an outside library, which I don't know how it works, increeses the time of every step in the calculation in such a way that for such many iterations results in the long running time.

Can this be the source of the problem? Can calling an outside library, no matter if - Scipy of whatever else, increase the calculation time by so much?

What can I do?

Thanking you on advance!

2012-06-27 06:18:05 +0200 answered a question Save data to text file - List_plot(...).save(Path, Name..)?

Thx both! Eventually I tried more or less both ways and it worked, I used the txt file.

2012-06-25 08:16:46 +0200 commented answer Save data to text file - List_plot(...).save(Path, Name..)?

O.K, thanks! - Where do I see the list of data files, and are they in a format that I could export to other program, such as an Excel table, or as a *.png? What is the meaning of the two different 'out's - before and inside the loop? The out.close() is used because of the loop?

2012-06-25 04:42:16 +0200 asked a question Save data to text file - List_plot(...).save(Path, Name..)?

Hey,

Is there a way to save data in list plot as a text file in stead/ in addition to showing it with .show() ?

In this way - I want to export the data from my list, say to Excel or Matlab in order to plot it using their tools. I wish the data would be arrange in the text file in a list of values that I could then copy (for example) to the Excel table.

Thanking u on advance!

2012-06-25 04:20:12 +0200 received badge  Supporter (source)
2012-06-24 10:14:21 +0200 asked a question Plotting with logarithmic scaling for the 'x' axis?

Hey! Would appreciate very much a bit of help:

I have an Array of data of Positions Vs. Time intervals, where Time goes from 0 to 10000, and every slot on the array represents a time interval of 100. The question is - is there any way to plot the data in the array using List_plot...show(), but with a logarithmic scaled 'x' axis ? Meaning - labels running as - 10^(-4), 10^(-3), ..., 10^5?

Thank you!