フィルターのクリア

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

1 回表示 (過去 30 日間)
Avratanu Biswas
Avratanu Biswas 2021 年 5 月 12 日
編集済み: Avratanu Biswas 2021 年 5 月 12 日
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 Center および File ExchangeMATLAB Report Generator についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by