grayout

Lighten or darken lines after plotting

您现在正在关注此提交

I wrote this function for myself because I create a lot of PowerPoints. Sometimes I plot some data, show old insufficient models, then I want to show how much better my new model is. I use grayout(h) as a simple command to wash out the old models, allowing viewers to focus on my new model while still being able to see the washed-out old models for reference.

Description:
grayout(h) lightens objects given by the handle(s) h.

grayout(h,beta) lightens or darkens objects by a factor of beta. If beta = 1, the object becomes white. If beta = -1, the object becomes black. Default beta is 0.5.

引用格式

Chad Greene (2026). grayout (https://ww2.mathworks.cn/matlabcentral/fileexchange/47200-grayout), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: legappend

类别

Help CenterMATLAB Answers 中查找有关 MATLAB Report Generator 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0