grayout

Lighten or darken lines after plotting
483 Downloads
Updated 10 Jul 2014

View License

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.

Cite As

Chad Greene (2024). grayout (https://www.mathworks.com/matlabcentral/fileexchange/47200-grayout), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Report Generator in Help Center and MATLAB Answers
Acknowledgements

Inspired: legappend

Community Treasure Hunt

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

Start Hunting!

grayout_demo/html/

Version Published Release Notes
1.0.0.0