increase gridline distances in meshplot

Hello, I've created a simple meshplot using mesh(A) with A being a 350x390 rectangular matrix. This matrix contains mostly zeros with values at some indices. The grid lines look like they are one index in distance apart from each other. How can I make this more coarse? I'd like to have grid lines for every 10 indices. Thanks in advance!

 Respuesta aceptada

KSSV
KSSV el 27 de Oct. de 2016
mesh(A(1:10:end,1:10:end))

Más respuestas (0)

Preguntada:

el 26 de Oct. de 2016

Comentada:

el 27 de Oct. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by