Hi Leo,
To add to Walter's comment, (if I understand what you are trying to do correctly), I would also recommend looking into the native2unicode function or the reverse (unicode2native). These combined with the char function can let you insert a variety of characters in as plot markers. For example:
x = 1:40;
y = rand( 1, 40 );
plot( x, y );
axis( [0.5, 40.5, -0.1, 1.1 ] );
for i = 1:10
nativeValue = char( hex2dec( '2776' ) + i - 1);
unicodeValue = native2unicode( nativeValue, 'UTF-16' );
text( x( i + 20 ), y ( i + 20 ),...
unicodeValue,...
'FontSize',12,...
'HorizontalAlignment', 'Center',...
'VerticalAlignment', 'Middle' );
end
I apologize if I misunderstood your question, but hope this is helpful!
Best Answer