使用GUIDE在MATLAB GUI中创建透明文本框 [英] Creating a transparent text box in MATLAB GUI using GUIDE

查看:1448
本文介绍了使用GUIDE在MATLAB GUI中创建透明文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MATLAB GUI中,我在后台有一张图片(在轴上创建),在上面我想要文本.我放置了一个静态文本框,但我需要它是透明的.我可以使用GUIDE吗?

In a MATLAB GUI I have a picture in the background (created on axes) and over it I would like to have text. I put a static text box but I need it to be transparent. Can I do it using GUIDE?

推荐答案

由于文本对象实际上是uicontrols,因此您不能使用guide来做到这一点.尝试在代码中使用text函数添加文本.您可能需要在正确的位置进行反复试验.

You can't use guide to do this, since the text objects are actually uicontrols. Try adding the text using the text function in your code instead. You may have to trial-and-error it in to the right location.

这篇关于使用GUIDE在MATLAB GUI中创建透明文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆