Copying transparent plots works in Windows but not in MacOs BigSur version 11.3.1

2 views (last 30 days)
Here's a snippet below. The tarnsparent plot, when I run from Windows and paste in Powerpoint does work well as expected. But the same doesn't work on my MacOS.
% Example script
x = linspace(1,100,10);
y = linspace(100,200,10);
figure;
plot(x,y)
% For transparent background of dark slides
ax = gca;
ax.YColor = 'w';
ax.XColor = 'w';
set(ax, 'color', 'none');
  • The figure is copied from tool menu : Edit > Copy Figure. And pasted on powerpoint slides.
  • Windows 10 .
  • MacOS BigSur version 11.3.1
Any fix will be helpful . Thanks in advance
Edit : Using Matlab 2020b in both the OS. So it seems, the transparent background option is not available in case of MacOS, contrary in case of Windows. Preferences > Figure Copy Template > Copy Options (not present in case of MacOS). It's strange! Any workaround ?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!