use*_*231 1 graphics matlab text
嗨,
我正计划在MATLAB中进行简单的实验.我需要在屏幕上打印彩色文字,倒置.我发现了这个功能
text(0.6,0.5,'red','rotation',180,'fontsize',50,'color','k')
Run Code Online (Sandbox Code Playgroud)
但是我想摆脱轴(x和y),我只想要在屏幕中央显示文本..
任何想法都会受到影响.
阿里尔
figure
set(gcf,'Color', 'white')
text(0.6,0.5,'red','rotation',180,'fontsize',50,'color','r')
set(gca,'Color','white');
set(gca,'XColor','white');
set(gca,'YColor','white');
Run Code Online (Sandbox Code Playgroud)