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