Holcombe:PythonDataAnalysis

From OpenWetWare
Jump to navigationJump to search

Recent members

• Alex Holcombe
• Ryo Nakayama



Technical

• Skills Checklist
• Python Programming
• Psychopy/VisionEgg Installation Notes
• R analysis,plot,stats
• Statistics
• Buttonbox
• Buttonbox with photocell
• Programming Cheat Sheets



SciPy includes matplotlib (ref) (Not necessary: after downloading SciPy I updated to the more recent version of matplotlib using matplotlib-0.98.5.2-py2.5-mpkg.zip for OSX, which installs in /Library/Python/2.5/site-packages/ and I needed to add that directory to my PYTHONPATH in my .profile file in my home directory)

See the HowTo and Cookbook, double-axis plotting

loadtxt returns recarray, like minispreadsheet explanation

angs=(0,90,180,270)
anglabels=('Right','Upper','Left','Lower')
setp(gca(),'xticks',angs)
setp(gca(),'xticklabels',anglabels)