MATLAB: how to save a geoshow figure with faceAlpha?
问题 I am trying to save a figure in Matlab R2014a in which I want to plot data over an Image. This is the code: [Singapore, R] = geotiffread(file); s = size(Singapore); matrix = rand(s(1),s(2)); geoshow(Singapore(:,:,1:3), R) hold on geoshow(matrix, R, 'DisplayType', 'texturemap','facealpha',.2); xlim([103.605,104.04]) ylim([1.2,1.475]) This one is the plot that works perfectly: While when I am printing the figure print(gcf, '-dpng', fullfile(FileF, 'test.png')) the image is completely white 回答1: