Ask Your Question

Changing the Tick Mark Values When Plotting a Matrix

asked 2012-10-27 10:15:46 -0500

elcojon gravatar image


I am using matrix_plot to display my 2 dimensional array of data. Is there a way to change the tick mark values? Right now they are set to the index values of the matrix.

Also see this example from Matlab Stackoverflow

I was already trying to overload matplotlib keyword extent Example:

matrix_plot(mat, extent=[horLeft, horRight, verTop, verBottom])

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-10-27 13:41:14 -0500

elcojon gravatar image

I modified my sage source code to do solve this for me. I had to modify

edit flag offensive delete link more



Can you tell us what you did? It would be great to add something like this to Sage - see for instance for an attempt that never quite got in because of the resizing of the matrices in corner cases.

kcrisman gravatar imagekcrisman ( 2012-10-27 16:17:14 -0500 )edit

to whom may I send the patch to review it?

elcojon gravatar imageelcojon ( 2012-10-28 00:07:44 -0500 )edit

I think you can email to sage-devel (!forum/sage-devel ) if you don't want to create an account and submit to the trac website.

ppurka gravatar imageppurka ( 2012-10-28 06:37:08 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-10-27 10:15:46 -0500

Seen: 109 times

Last updated: Oct 27 '12