how can set the string in bar plot??

1 visualización (últimos 30 días)
ahmad hashemi
ahmad hashemi el 24 de Mzo. de 2017
Comentada: ahmad hashemi el 26 de Mzo. de 2017
hi everybody I'm gonna to do this work? What do I do?

Respuesta aceptada

mizuki
mizuki el 26 de Mzo. de 2017
The easiest way is to use plot tools
>> plottools
and insert the text arrow.
Another way is to use annotation command.
f1 = figure;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(y)
annotation(f1,'textarrow',[0.55 0.8],...
[0.87 0.87],'String',{'this work'});
  1 comentario
ahmad hashemi
ahmad hashemi el 26 de Mzo. de 2017
this good way   thanks but i used the code {text} for this work

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by