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.
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.
I proudly present: my first foray into screencasting! After months of umming and ahhing I finally decided to get a copy of screenflow (partially for Christmas, and with a nice educational discount!). To ease myself into it, I decided to start with something simple, so I ended up with how to download and install my Gnuplot bundle for TextMate. Installing Gnuplot TextMate Bundle from Matt Foster on Vimeo. Please leave your comments below, and I’ll try to address them.