poster
2019-12-14, 20:38
你好
我正在计划在MATLAB中进行一个简单的实验。我需要在屏幕上打印彩色文本(反过来)。我找到了功能
text(0.6,0.5,'red','rotation',180,'fontsize',50,'color','k') 但是我想摆脱轴(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');
更多&回答... (https://stackoverflow.com/questions/4638077)
我正在计划在MATLAB中进行一个简单的实验。我需要在屏幕上打印彩色文本(反过来)。我找到了功能
text(0.6,0.5,'red','rotation',180,'fontsize',50,'color','k') 但是我想摆脱轴(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');
更多&回答... (https://stackoverflow.com/questions/4638077)