how to comment part of the title?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How can i comment out the part below in brackets? title('Read-range at [name of point] of the antenna')
i want to eventually have a variable there and each time create my plot, to give it a correct title. For example, "Read-range at point A of the antenna", "Read-range at point B of the antenna", C, D, and so on.
Thanks.
Lala~
0 comentarios
Respuestas (3)
Azzi Abdelmalek
el 26 de Feb. de 2013
Editada: Azzi Abdelmalek
el 26 de Feb. de 2013
str='A'
title(sprintf('Read-range at %s of the antenna',str))
0 comentarios
the cyclist
el 26 de Feb. de 2013
I do that like this
>> stringVariable = 'truly';
>> title(['This title is going to be ',stringVariable,' awesome'])
0 comentarios
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!