%% Copy Heatmap With Transparent Background
% Display a heatmap chart. Then copy the chart as a vector graphic and specify a transparent background.

h = heatmap(rand(10,10));
copygraphics(h,'ContentType','vector','BackgroundColor','none')

% Copyright 2019 The MathWorks, Inc.