how create GUI as main interface for a project includes picture?

hi,
My knowledeg in GUI is simple. I would like to create main interface for my project includes title of my project and I would to set a picture relate to my project in same window. how do that? thanks

回答(1 个)

You can use uicontrol('style', 'text') to create a text area that is not in any plot axes.
However, pictures must be inside a plot axes, so you might just want to create an axis with axes() and title() the axis and use image() to put the image in place.

1 个评论

thanks,
but when I use axes I should use push button to load image. right?
what I want is figure i can set in it the color of bakground and the font and set image. regarding the unicontrol, when I used it it be in lower corner how can change the position and size of font.

此问题已关闭。

标签

提问:

2014-2-24

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by