Watched a lecture by Prabhu – IITB prof about Python and learnt the following

  • imshow(object) – If you have a diagnoal matrix, you get a strong line on diagonal and 0 color everywhere
  • clf()  - clear screen
  • rand(10,10), compute svd, multiply u by vtranspose , you get a diagonal matrix, use colorbar() and you see an interesting plot
  • CTRL+R pastes the old code in to ipython