1
$\begingroup$

Adding the option Mesh->True to an ArrayPlot stops the FrameTicks from appearing. Why? How do I fix?

array = RandomReal[{0, 1}, {4, 4}];
ArrayPlot[array, FrameTicks -> All]
ArrayPlot[array, FrameTicks -> All, Mesh -> True]

enter image description here

$\endgroup$
1
$\begingroup$

Add the option Frame->True:

ArrayPlot[array, FrameTicks -> All, Frame -> True, Mesh -> True]

enter image description here

$\endgroup$
  • $\begingroup$ What a simple fix. Thanks :) $\endgroup$ – Tom Apr 30 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.