avoiding overlap contour lines in matlab

Dear,
How can I fix overlap contour lines in matlab
figure
contourf(x,y,z)

回答(1 个)

please take a look to the contour lines near the coast, those are overlap. "semilog" function is one solution but it doesn't work for my issue, other one is, >> set(gca, 'Zscale', 'log');
>> set(gca, 'ZTickLabel', get(gca,'ZTick'))
also doesn't work. So I'm looking for a good and an proper solution.
thank you for your suggestion

类别

帮助中心File Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by