20220426 13:38:29 +0100  received badge  ● Nice Answer (source) 
20161015 12:58:05 +0100  received badge  ● Great Answer (source) 
20150208 10:33:07 +0100  received badge  ● Taxonomist 
20131119 11:48:42 +0100  received badge  ● Good Answer (source) 
20130125 12:50:45 +0100  received badge  ● Nice Answer (source) 
20130106 06:03:33 +0100  received badge  ● Great Answer (source) 
20120504 22:42:01 +0100  received badge  ● Great Answer (source) 
20120504 22:42:01 +0100  received badge  ● Guru (source) 
20120105 23:17:20 +0100  received badge  ● Great Answer (source) 
20120105 23:17:20 +0100  received badge  ● Guru (source) 
20111227 06:00:15 +0100  received badge  ● Good Answer (source) 
20111227 05:37:07 +0100  received badge  ● Nice Answer (source) 
20111226 18:05:10 +0100  answered a question  Can I add mathematical formulas to a plot? Shashank told you how to do it in matplotlib (which comes with Sage)  matplotlib allows you a lot of control over your plots (I often use it for this reason), but as you can see, it involves a fair bit of boilerplate compared to Sage's plotting. If you want to add a formula to a Sage plot, then you can just use latex inside dollar signs, like you would in a .tex document: Here the 
20111224 04:56:53 +0100  received badge  ● Good Answer (source) 
20111221 20:41:50 +0100  received badge  ● Good Answer (source) 
20111221 20:33:49 +0100  received badge  ● Nice Answer (source) 
20111221 12:18:24 +0100  received badge  ● Nice Answer (source) 
20111221 09:27:58 +0100  answered a question  Reliability of Sage vs commercial software Compared to Mathematica 6.0.1 (the version of mathematica i bought  without paying more, they won't even let me have version 6.0.2 which fixed a bug I encountered), I have found Sage to be more reliable for what I do. The most important difference is ease of debugging. When you make a mistake, Mathematica plows on. For example, if you forget to define a variable, Mathematica assumes it's symbolic and will keep going until it crashes, hangs, generates a meaningless expression, or you treat it as a list and slice it. if you're lucky Mathematica will give meaningless errors along the way that are hard to trace back to the problem (e.g. they occur 400 lines after the initial problem, and do not mention variable names or line numbers). If you make such a mistake in Sage, it will straight away throw up an error message with a traceback, which makes for MUCH faster debugging. In my few years' experience using Sage, I have run into several parts that were rough around the edges (e.g. interaction with Mathematica, and to a lesser extent numpy/scipy), and found one bug that silently gave me incorrect answers (returning a vector as a row vector instead of a column vector). But then I also found an issue with Mathematica, where results were qualitatively different depending on whether it was run from a notebook or a command line (which turned out to be 32bit vs 64bit). Still, I find it harder to write code that silently gives the wrong answer in Sage than in Mathematica, and it is also much easier to write code that gives the correct answer in Sage than to do the same in Mathematica, due to the errors and tracebacks that Sage provides. Sage almost always gives errors when something goes wrong, which helps you work around its inconsistencies, unlike mathematica, which hopes for the best and gives no advice as to how to work around its inconsistencies. I have had to write my own functions and do lots of numerics  both things which Sage (which incorporates Python and SciPy) is very well suited to, and Mathematica is poorly suited to. Other advantages Sage has, like redo/multiple level undo (provided by your text editor, or to a limited extent in your browser) are just gravy. I don't have too much experience with symbolics. The one time I tried a But the biggest advantage of Sage's price tag is that you have a perpetual free trial. So give it a go  try reproducing some of your Mathematica results in Sage, and see whether it's up to scratch for your needs. 
20111205 17:03:29 +0100  answered a question  font size in matplotlib yticks(fontsize=SIZE) should work: 
20111109 06:01:59 +0100  commented answer  sage notebook server + ssh tunneling + port forwarding I find it useful to run the `./sage notebook` command from inside a `screen`, so that when I close the SSH tunnel, the Sage server and the worksheets keep running. 
20111029 10:44:52 +0100  received badge  ● Great Answer (source) 
20111029 10:44:52 +0100  received badge  ● Guru (source) 
20111009 18:35:56 +0100  received badge  ● Nice Answer (source) 
20110919 06:59:17 +0100  received badge  ● Good Answer (source) 
20110911 00:32:29 +0100  commented answer  How can I share code between worksheets? The best way to do it would be to let Virtual Box see the windows directories that you're saving the files in, and give that as the path. I don't have Windows, but on my Mac version of VirtualBox there is a Devices menu with a "Shared Folders..." item, that will set this up. Hopefully you can then work out the path of the shared folder  I guess you should ask a separate question for that, someone with more specific knowledge may be able to help. 
20110911 00:32:29 +0100  received badge  ● Commentator 
20110906 22:24:24 +0100  received badge  ● Nice Answer (source) 
20110905 23:10:51 +0100  answered a question  How can I share code between worksheets? You can write your reuseable functions into a .sage or .py file, store it anywhere on your computer (or the web), and then somewhere in the worksheet (e.g. the top), have a cell with

20110831 20:30:29 +0100  received badge  ● Enthusiast 
20110624 00:29:16 +0100  received badge  ● Good Answer (source) 
20110623 22:53:38 +0100  received badge  ● Nice Answer (source) 
20110623 21:46:54 +0100  answered a question  SAGE and GPUs 
20110430 12:48:23 +0100  received badge  ● Nice Answer (source) 
20110430 05:54:27 +0100  answered a question  Sage relation to Python The Sage notebook doesn't replace a good text editor. It's fantastic for writing 'on the fly' code and for calling prewritten functions, but as far as I know, there's no handy GUI in the notebook for opening, manually editing and saving There is, however, very neat support for executing You can set the path for 
20110427 20:09:30 +0100  commented answer  Updating scipy in sage @flutefreak7: sage 4.7 is about to be released in the next few days i think (it's currently at release candidate 0), and it includes scipy 0.9  so hang tight! 
20110419 12:30:37 +0100  received badge  ● Enlightened (source) 
20110419 12:30:33 +0100  received badge  ● Good Answer (source) 
20110419 10:36:23 +0100  received badge  ● Nice Answer (source) 
20110419 10:26:47 +0100  answered a question  Physics constants in sage. Scipy, included in sage, has these constants: More details about what is in 
20110411 03:36:18 +0100  answered a question  Using Sage Symbolic Functions in Scipy fsolve This is one of the problems you're having: Which can be remedied as such: But this merely exposes another problem: And I don't know how to solve that one. 
20110322 10:30:28 +0100  received badge  ● Organizer (source) 
20110322 10:27:40 +0100  commented answer  can gridlines be painted at sqrt(2) ? Don't forget the most compact option: sqrt(2.) 
20110321 03:30:19 +0100  received badge  ● Nice Answer (source) 
20110319 04:51:45 +0100  answered a question  How do instantiate a new class properly? Instead of " 
20110318 01:00:30 +0100  received badge  ● Good Answer (source) 
20110318 00:05:54 +0100  commented answer  symbolic calculus on doubling points in elliptic curves probably because it was merged 9 hours ago ;) 
20110317 23:31:00 +0100  received badge  ● Nice Answer (source) 
20110317 22:34:38 +0100  received badge  ● Editor (source) 
20110317 22:34:38 +0100  edited answer  symbolic calculus on doubling points in elliptic curves In the next version of sage (4.7) you will be able to use the functions In the meantime you'll need to define them yourself: For usage examples and more documentation, see the patch that adds this functionality. There is one example which is very similar to yours: 