wordcloud plot does not display emoji symbols.

1 Ansicht (letzte 30 Tage)
Vitali Alexeev
Vitali Alexeev am 2 Mär. 2019
Beantwortet: Luis Gonzalez am 24 Apr. 2020
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

Antworten (1)

Luis Gonzalez
Luis Gonzalez am 24 Apr. 2020
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.

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by