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

1 vue (au cours des 30 derniers jours)
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 ?

Réponses (0)

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by