jeffschulte/protein — pull request #5 by renezeto (2012-12-20 04:06:37+00:00)
Title: shownatp.py

runs contourplots of the 4 data sets. It works as is, but to generalize it for any shape/size:

For four of the variables:

cellshape
dimA
dimB
dimC
dimD

delete the values on the right hand side and replace those values with the commented system arguments. Also replace -p- in the long lines with '+repr(cellshape)+'. There's a commented line above where the change should be made. After doing this, running

python shownatp.py p 4 1 1 1

just like with the simulation program should display the 4 graphs (unless I commented out the lines where they're run at the bottom, I don't remember).

If the python program is in the same directory as all the data for one shape, it should work just fine. The colorbar scale is weird but the colors are accurate.