Transparent (alpha) text in figures
Mostrar comentarios más antiguos
Only a very small number of figure objects can be made transparent using the 'alpha' scale (RGB Alpha). Since such transparent colors cannot be emulated by RGB values alone, workarounds exist for figure objects such as lines:
Is there a workaround to make text transparent ?
2 comentarios
Nike Dattani
el 30 de Mzo. de 2015
Image Analyst
el 30 de Mzo. de 2015
What does that (Bounty) mean (other than a really good paper towel brand)?
Respuestas (2)
Use getframe to get the contents of the figure. Then create the text with a white background and getframe again to get a copy of the written text. Then add the RGB values of the two images weighted by the alpha value. Finally the result is displayed by the image command.
xingxingcui
el 13 de Sept. de 2021
0 votos
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!