Some more fiddling with Chaco and AMR data
In a followup to a post from Friday, I fiddled a bit more with Chaco and the AMR data plotting today. By mostly using components that I'd already created, I was able to make it switch between fields while panning and zooming. By using Chaco and Enable a bit more cleverly, I managed to get a 25x zoomed in plot inset in the bottom left of the zoomed-out plot, and (as should come as little surprise) the necessary code was very short. Here's what it looks like now, displaying a 512^3, refine everywhere, 7 level dataset:
Panning and scanning and zooming through a dataset like this really is the only way to fly. I'm now using it on data for my next paper, and I think it's about three lines of code from writing scripts to plot images based on clicking when I get to a scene I'd like. There are a whole bunch of second-order fixes and improvements to make, but they have all been bumped to and unspecified time in the future now that it's functional to the extent that I can examine my data in detail! But, I'll definitely push all of the changes necessary to get this type of interface back up into the main repository. Perhaps somebody else will take it and run with it.


