Re: [Matplotlib-users] setting x tick labels with matshow

2013-12-05 Thread Sterling Smith
Kelson, Reading the documentation of matshow help(matshow) reveals that it passes most keywords to imshow. Documentation of imshow help(imshow) says it has an extent keyword to indicate the x and y ranges (instead of the array index). So something like (untested) matshow(,extent=(left,right,b

[Matplotlib-users] setting x tick labels with matshow

2013-12-04 Thread Kelson Zawack
I am trying to create a figure that plots a data matrix with matshow and has x tick labels corresponding to the x dimension of the matrix. The x dimension is a series of floats, but they don't correspond to the data matrix cell index values (0,1,2…) that make up what matplotlib obviously thinks