last update:

I realise that to lots of Mac users, having to use the command line is like having to hunt and kill you own food. That’s fair enough. It doesn’t mean you don’t want the latest TextMate coolness though, so I made this quick silent movie to illustrate how to install GetBundles. You can watch it below, or on Vimeo, or download it as a QuickTime movie, a pdf or Keynote presentation.

Matlab Bundle Merge

I’ve successfully committed Thomas Kjosmoen’s matlab bundle changes into the (relocated) macromates SVN repository. His work is absolutely stellar, so I recommend you grab the bundle ASAP. I’ve also managed to keep the useful extensions I made to the previous incarnation intact. As ever I’m eager to hear your feedback and bug reports. Either directly, or via the google group. The code is also available in GitHub for your forking pleasure.

Whilst looking at the gnuplot website, I discovered the demo page, which shows, amongst other things, new features in the CVS version. The main that caught my eye was the plot on the right, which shows a few overlaid sinusoids, with the code used to generate them as the key. Here’s the code: plot for [n=2:10] sin(x*n)/n with filledcurves That’s right, one line for 8 plots! Version 4.3 of gnuplot introduces the for keyword, which lets you sweep through numerical parameters and loop through strings.

I had so much fun making my previous screencast, on installing the Gnuplot TextMate bundle, that I decided to make another one. This one is about using the bundle. It includes info on snippets and commands, as well as the TM_GNUPLOT variable I introduced. Setting this variable allows you to choose the gnuplot executable. View it below, on Vimeo directly, or download it. Using the Gnuplot TextMate Bundle from Matt Foster on Vimeo.

More Chaco

I’ve been doing a little bit more tweaking with chaco, learning how to use groups and containers. The docs are great, if a bit incomplete, so I ended up looking at various examples. I’ve updated my simple AM demo so that it now shows the frequency content of the signal (calculated on the fly, using an FFT). The running program looks like this: Uploaded with plasq's Skitch! I’d still like to add zooming and area selections to the x-axis, and tidy the plots up a bit, but it’s looking good.