4
A
回答
7
一个选项Interpreter
属性不适用于数字,我相信(waitbar
创建一个人物对象),但你可以再应用它的waitbar消息:
h=waitbar(x,message);
set(findall(h,'type','text'),'Interpreter','none');
你也可以逃避有问题的角色,但那会更复杂。
4
您也可以将全局Tex解释器设置为None
,它也适用于waitbars。
set(0, 'DefaulttextInterpreter', 'none');
0
相反,如以下MWE搜索对象一个可能会改变解释直接与“点符号”(可用自R2014b)的:
wb = waitbar(0/10,'My_waitbar_string_with_underscores');
wb.Children.Title.Interpreter = 'none';
for i = 1:10
waitbar(i/10,wb,'My_waitbar_string_with_underscores');
pause(1);
end
delete(wb);
这改变了直译为放置在等待栏内的轴的标题。
请注意,如果您使用的waitbar取消按钮,对象改变孩子的数量,人们可能不得不改变
wb.Children.Title.Interpreter
到
wb.Children(2).Title.Interpreter
相关问题
- 1. 在matplotlib中禁用tex解释器
- 2. 在NativeWindow中等待消息
- 3. 在等待消息时发送消息
- 4. Hiredis等待消息
- 5. 与“等待”消息
- 6. 在Web-Worker中同步等待消息
- 7. JQuery等待消息对话
- 8. SWTBot - 等待消息框
- 9. RabbitMQ等待超时消息
- 10. Websocket等待超时消息
- 11. 商店等待消息
- 12. 等待从消息框
- 13. 等待消息发送window.onbeforeunload?
- 14. Akka:等待多条消息
- 15. “等待调试器”消息?
- 16. 使用异步等待侦听消息
- 17. 等待管理代码中的消息
- 18. 等待在多个阿卡FSM消息
- 19. 在AS400上监控消息等待vb.net
- 20. Matlab中的TeX解释器uiTable
- 21. ZMQ等待消息,有客户端等待回复
- 22. 设定的等待消息,并等待光标
- 23. SendMessage消息号的解释?
- 24. React.DOM.p(空,消息) - 解释空
- 25. 在java中执行同步网络调用等待ack消息?
- 26. C# - 等待WinForms消息循环
- 27. 如何等待一个消息
- 28. 显示进度条或等待消息
- 29. 谷歌云消息等待注册
- 30. AppleScript等待AppleMail下载消息。
嗯作为awlays,通常方式:hChild = get(hWaitbar,'Children'); hTitle = get(hChild,'title'); set(hTitle,'Interpreter','none'); – HeinrichStack 2012-02-03 10:15:18