How to use string with different sizes as a text in figure?
4 views (last 30 days)
I have three Char matrix say, S1 (1x112), S2 (1x26) and S3 (1x36), all three are different sizes.
I would like to put S1, S2 and S3 as a text in a figure such that S1 is in the first line, S2 in the second and S3 in the third line.
When I run
str = [S1; S2; S3]
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
% i would like to run
How to use this as a text in figure?