wordcloud plot does not display emoji symbols.

While going through example on my MATLAB 2018b using codes from https://au.mathworks.com/help/textanalytics/ug/analyze-test-data-using-emojis.html, I get wordcloud plots with emoji symbols missing. Could you please let me know which font is being used and how to fix this problem? I am using Windows 10 system.
example01.png

답변 (1개)

Luis Gonzalez
Luis Gonzalez 2020년 4월 24일

0 개 추천

I've had the same problem.
Download the Symbola font and try this...
figure;
h=wordcloud(uniqueWords,numOccurrences);
title("Emojis Cloud")
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
h.FontName='Symbola';
I hope it works.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

질문:

2019년 3월 2일

답변:

2020년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by