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

2 次查看(过去 30 天)
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 ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by