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!

 Akzeptierte Antwort

KSSV
KSSV am 27 Okt. 2016

0 Stimmen

mesh(A(1:10:end,1:10:end))

Weitere Antworten (0)

Gefragt:

am 26 Okt. 2016

Kommentiert:

am 27 Okt. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by