assignment-template.git
11 years agoplot_image.py: add positional argument specifiers to .format() calls
W. Trevor King [Fri, 26 Oct 2012 18:32:57 +0000 (14:32 -0400)]
plot_image.py: add positional argument specifiers to .format() calls

For backwards compatibility with Python 2.6.

11 years agoplot_image.py: use modern print() syntax
W. Trevor King [Fri, 26 Oct 2012 18:29:33 +0000 (14:29 -0400)]
plot_image.py: use modern print() syntax

11 years agoPrint the number of steps read in by plot_image.py (for sanity checks).
W. Trevor King [Thu, 23 Feb 2012 20:05:57 +0000 (15:05 -0500)]
Print the number of steps read in by plot_image.py (for sanity checks).

11 years agoUpdate plot_image.py's interpolation extraction for Matplotlib 0.91.2.
W. Trevor King [Fri, 27 Jan 2012 19:02:21 +0000 (14:02 -0500)]
Update plot_image.py's interpolation extraction for Matplotlib 0.91.2.

I'd written it for v1.0.1, but the department server is still running
0.91.2, which only sets the interpolation dictionary for AxesImage
instances (not for the class itself).

11 years agoAdd --interpolation option to plot_image.py.
W. Trevor King [Sat, 21 Jan 2012 19:17:12 +0000 (14:17 -0500)]
Add --interpolation option to plot_image.py.

11 years agoRemove pylab.ion() from plot_image.py's main().
W. Trevor King [Sat, 21 Jan 2012 18:53:14 +0000 (13:53 -0500)]
Remove pylab.ion() from plot_image.py's main().

When pylab is in interactive mode, showing the figures does not halt
script exectution.  This means that the script will likely complete
before the user has time to appreciate the figure (unless the are
*really* fast ;)).

Also use figure/axes methods where possible (instead of pylab.axes,
etc.).  It's cleaner that way ;).

11 years agoFix XYZ.shape() -> XYZ.shape typo in plot_image.py's read_data_3d.
W. Trevor King [Sat, 21 Jan 2012 18:43:24 +0000 (13:43 -0500)]
Fix XYZ.shape() -> XYZ.shape typo in plot_image.py's read_data_3d.

11 years agoAdd --xyz option to plot_image.py for reading in (x,y,z) tuples.
W. Trevor King [Sat, 21 Jan 2012 18:36:27 +0000 (13:36 -0500)]
Add --xyz option to plot_image.py for reading in (x,y,z) tuples.

11 years agoNo need to use mpicc to compile the plot_image examples. Use gcc instead.
W. Trevor King [Sat, 21 Jan 2012 17:41:22 +0000 (12:41 -0500)]
No need to use mpicc to compile the plot_image examples. Use gcc instead.

This requires linking libm explicitly to define `sin` and `cos`.

11 years agoDocument raster direction in plot_image.py.
W. Trevor King [Tue, 9 Nov 2010 18:22:53 +0000 (13:22 -0500)]
Document raster direction in plot_image.py.

11 years agoRemove typo backtick from src/plot_image/README.
W. Trevor King [Tue, 9 Nov 2010 15:32:07 +0000 (10:32 -0500)]
Remove typo backtick from src/plot_image/README.

11 years agoMove gen_data_*.c from src/mandelbrot to src/plot_image & add README, Makefile.
W. Trevor King [Tue, 9 Nov 2010 15:22:20 +0000 (10:22 -0500)]
Move gen_data_*.c from src/mandelbrot to src/plot_image & add README, Makefile.

11 years agoExplain that you may have to kill ./plot_image.py's interactive plot.
W. Trevor King [Tue, 9 Nov 2010 15:04:31 +0000 (10:04 -0500)]
Explain that you may have to kill ./plot_image.py's interactive plot.

11 years agoClean up src/plot_image/plot_image.py.
W. Trevor King [Tue, 9 Nov 2010 14:38:23 +0000 (09:38 -0500)]
Clean up src/plot_image/plot_image.py.

11 years agoConsolidate plot_image.py into ./src/plot_image/.
W. Trevor King [Tue, 14 Sep 2010 22:46:12 +0000 (18:46 -0400)]
Consolidate plot_image.py into ./src/plot_image/.

11 years agoMoved all source (that I've found) into src/.
W. Trevor King [Tue, 14 Sep 2010 18:30:21 +0000 (14:30 -0400)]
Moved all source (that I've found) into src/.

11 years agoBegan versioning
W. Trevor King [Tue, 14 Sep 2010 05:48:29 +0000 (01:48 -0400)]
Began versioning