in between two points
古いコメントを表示
How can I write that there are ten '*'s between two points? How can I do this? plot
2 件のコメント
darova
2020 年 5 月 2 日
you mean string?
s = ['a' repmat('*',1,10) 'b'];
Or you want to plot something?
Olawale Ikuyajolu
2020 年 5 月 2 日
write as a title or what?
回答 (1 件)
Olawale Ikuyajolu
2020 年 5 月 2 日
string = 'a{\ast \ast \ast \ast}b'
4 件のコメント
Image Analyst
2020 年 5 月 2 日
???
>> string = 'a{\ast \ast \ast \ast}b'
string =
'a{\ast \ast \ast \ast}b'
darova
2020 年 5 月 2 日
the answer is unclear. Can you explain more?
Olawale Ikuyajolu
2020 年 5 月 2 日
Should be like this
'a^{\ast\ast\ast\ast}b'
for text title('') in plot and text on a plot

Walter Roberson
2020 年 5 月 2 日
st = ['a^{', repmat('\ast', 1, 10), '}b']
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!