Use the Format** functions as illustrated in the major-minor demo. e.g. pylab.plot([0,1,2],[0,1,2]) major_formatter = pylab.FormatStrFormatter(‘%2.1f’) pylab.gca().xaxis.set_major_formatter(major_formatter) pylab.gca().yaxis.set_major_formatter(major_formatter)
ftp ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p129.tar.gztar -xvf ruby-1.9.1-p129.tar.gzcd ruby-1.9.1-p129./configure –enable-shared –enable-pthread CFLAGS=-D_XOPEN_SOURCE=1make -j4sudo make install Installs in /usr/local/bin, make sure to point path there
Finally, some useful information on Slashdot. I knew all those hours invested in reading inane comments riveting articles would pay off. HP is recalling batteries. The list is here
Mistaken Identifiers: Gene name errors can be introduced inadvertently when using Excel in bioinformatics If you are too lazy to get to the punchline: “MatchMiner  and GoMiner  are two bioinformatics program packages we published recently in another Biomed Central Journal, Genome Biology. When we were beta-testing those programs on microarray data, a frustrating… Read More Those geneticists and their Excel
My choices: – Matplotlib – Inkscape
A search on google for pylab append to array brings up a page full of Matlab hits. Why, I wonder?
My MATLAB origins betrayed me. I kept thinking – you can’t put function definitions in a script in Python. Man, I gotta write a module and THEN a script that calls the module? But, in Python, you can include function defs in a ‘script’. So the following works perfectly well: def func1(): print ‘1’ def… Read More Function definitions in scripts
window->freeze panes : keep cells to the left and top (inclusive) of selected cell frozen as you scroll
Todays xkcd made me laugh. A small pause in the downhill journey of that site.