how to display image circular

2 次查看(过去 30 天)
hello, i would like to display my png image in guide in a circular form. Do i need to change the axes properties, or do i need to change something about my image beforehand? in the end it needs to be a round image that is also manually "zoomable", by using the mouse (drag n drop). I hope you can help me, thank you.

采纳的回答

Walter Roberson
Walter Roberson 2012-11-10
MATLAB cannot handle circular axes. Images for display must be rectangular. However, you can control the transparency of pixels in the image and make the ones outside the circle transparent.

更多回答(1 个)

nadine
nadine 2012-11-12
Do you know if it would be possible to have that circle be resizeable as well? With the mouse? I havnt figured out the code yet, except that i need to use >> alpha (0.5) help?

类别

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