Hello, 

I made a patch to matrix_plot.py.

It enables changing the shown limits of the axes. matrix_plot() was only using 
the matrix indices. Now we may pass the keyword extent=[left,right, bottom, 
top]  to it. It will change the minimum and maximum values of the horizontal 
and vertical limits of the figure.
See this to help your imagination:
http://stackoverflow.com/questions/8074762/matlab-changing-the-tick-mark-values-when-plotting-a-matrix

My matrix_plot.py file was already patched with 
trac_13625-add_title_pos_to_matrix_plot.patch .
So my patch is based on this patch.
The patch is linked here:
http://pastebin.com/kMYQj5TN

I made a notebook to test the patch: http://pastebin.com/ZCKtSLYV
Its the text version of the notebook.

Best 
Eymen

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to