自定义数据光标标记器Matlab [英] Customizing Data Cursor marker Matlab

查看:111
本文介绍了自定义数据光标标记器Matlab的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在Matlab中更改数据光标的标记形式和大小?我的意思是默认情况下它是黑色和正方形.例如,我想将其更改为蓝色和圆圈.
我只找到了如何自定义数据提示文本的方法.

Is there any possibility to change marker form and size for data cursor in Matlab? I mean it is black and square by default. I would like to change it to blue and circle, for example.
I've found only how to customize text of data tips.

谢谢.

推荐答案

希望这对您有帮助...对于白色背景和经典外观....

Hope this helps..... For white background and classic look....

  • alldatacursors = findall(gcf,'type','hggroup')
  • set(alldatacursors,'FontSize',11)

  • alldatacursors = findall(gcf,'type','hggroup')
  • set(alldatacursors,'FontSize',11)

set(alldatacursors,'FontName','Times')

set(alldatacursors,'FontName','Times')

set(alldatacursors,'BackgroundColor','w');

set(alldatacursors,'BackgroundColor','w');

这篇关于自定义数据光标标记器Matlab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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