Placing vertical Chinese text on one figure (.exe)

2 vues (au cours des 30 derniers jours)
Jessica Lam
Jessica Lam le 8 Juin 2012
Hi
I complied the below code as one .exe file but the vertical Chinese could not been shown. There is no error when I run it on the matlab command window. Do you know how the vertical chinese text could be shown on one figure as one .exe file?
Thanks so mcuh Jessica
clear
str='恒生指數';
figure1=figure('Visible','off'); %
plot(1:10);
text(5,5,str,'FontSize',10,'Color','r');
text(5,5,str','FontSize',10,'Color','g');
plot1_filename='testing.png';
print('-dpng', plot1_filename, '-r100');
close all
clear

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by