When exporting a 2D plot (contourf plot for example) in vector form (PDF) or as a bitmap(PNG), demcmap is completely ignored and export reverts to "parula". This does not happen with other inbuilt colormaps ("hot" for example). Issue present in R2024a release with export_fig v3.44
MWE below.
Z = peaks;
F=figure();
ax=axes(F);
contourf(ax,Z);
%colormap(ax,"hot");
demcmap(Z,10);
cb=contourcbar;
export_fig(F,'test','-png','-pdf');
When exporting a 2D plot (contourf plot for example) in vector form (PDF) or as a bitmap(PNG), demcmap is completely ignored and export reverts to "parula". This does not happen with other inbuilt colormaps ("hot" for example). Issue present in R2024a release with export_fig v3.44 MWE below.