Info

This question is closed. Reopen it to edit or answer.

Strange artefact line on color with nans

1 view (last 30 days)
Dimitri
Dimitri on 20 Nov 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
When I run these lines under Matlab 2014a:
Z=rand(200); Z(idx(1:5000))=nan; pcolor(Z); shading flat axis equal axis([1 200 1 200]);
I get strange artefact lines on my plot. What is the explanation and how can I get rid of those lines?

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!