ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 13 Jan 2016 11:37:55 +0100Tick labels in a matrix plothttps://ask.sagemath.org/question/32182/tick-labels-in-a-matrix-plot/I want to plot the following matrix `m` with k and l in {-2, ..., 2}:
m = [[k+l for k in range(-2,3)] for l in range(-2,3)]
with `matrix_plot`:
m_plot = matrix_plot(m, origin='lower')
The ticks on both axes are automatically set to {0 , ... , 5}, but I want the ticks to be {-2, -1, 0, 1, 2} on both axes.
I could not figure out how to do this.PhilosophiĆ¦ NaturalisWed, 13 Jan 2016 11:37:55 +0100https://ask.sagemath.org/question/32182/