Monday, June 16, 2008

changeaxisunits.m

I have been plotting lots of properties of walking flies for like the past month. My brain works in the units of pixels and frames, but in fact the scientists prefer to think in centimeters and seconds (stupid, logical scientists). I had been changing all of my plotting commands to respect this. Today, I had the brilliant idea just to change the scale of the axes post-plotting with the function changeaxisunits.m. By the way, there are tons of random functions I use fairly often in that directory. Feel free to use and abuse!

Random plot modified using this code:

No comments: