Matlab的轮廓和颜色图会忽略输入值

时间:2018-08-06 12:07:52

标签: matlab plot contour colormap

我正在使用Matlab中的outlinef函数绘制轮廓,并使用声压级和关联的坐标作为输入。最大SPL超过78 dB。 Contourf函数以某种方式仅考虑了直到75 dB的值,但是我需要一个更好的分辨率,即覆盖值直到最大的值。现在,所有超过75 dB的值都使用相同的颜色。

Click for wrong colormap

                    % Plotting
                    figure();
                    contourf(xObsGnewGrid,yObsGnewGrid,obsSplMaxInterp,'LineColor','none');
                    axis equal;
                    clrb = colorbar('eastoutside','Ticks',[0:2:100]);
                    zlab = get(clrb,'ylabel');
                    set(zlab,'String','SPL [dBA]');
                    ylabel('Lateral Position [m]');
                    xlabel('Longitudinal Position [m]');
                    xlabel('Longitudinal Position [m]');

0 个答案:

没有答案
相关问题