|
From: Kelson Z. <kb...@co...> - 2013-12-05 01:38:43
|
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 are the x values for the plot. Is there a way that I can set the x tick labels so that they will be laid out and formatted in the normal way for numbers on the x-axis? It would be great if they also scaled in the normal way when the plot is manipulated in the little gui window. Thanks for the help. |