in between two points
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How can I write that there are ten '*'s between two points? How can I do this? plot
2 comentarios
darova
el 2 de Mayo de 2020
you mean string?
s = ['a' repmat('*',1,10) 'b'];
Or you want to plot something?
Respuestas (1)
Olawale Ikuyajolu
el 2 de Mayo de 2020
string = 'a{\ast \ast \ast \ast}b'
4 comentarios
Olawale Ikuyajolu
el 2 de Mayo de 2020
Should be like this
'a^{\ast\ast\ast\ast}b'
for text title('') in plot and text on a plot![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289753/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289753/image.png)
Walter Roberson
el 2 de Mayo de 2020
st = ['a^{', repmat('\ast', 1, 10), '}b']
Ver también
Categorías
Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!