accessible property for an instance
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Elia
el 19 de Dic. de 2013
Comentada: Azzi Abdelmalek
el 19 de Dic. de 2013
i want to give a name to the x-axes ,i wrote this command in the openingfcn
set(get(axes1,'XLable'), 'String','time');
but is does not work ,when i run it i become on the command window
The name 'XLable' is not an accessible property for an instance of class 'axes'.
where is the Problem ?
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 19 de Dic. de 2013
Editada: Azzi Abdelmalek
el 19 de Dic. de 2013
Why not
xlabel('time')
And in your code there is a mistake, it's xlabel not xlable
set(get(gca,'xlabel'),'string','time')
2 comentarios
Azzi Abdelmalek
el 19 de Dic. de 2013
Like you did it without the mistake xlable. If axe1 is your axe
set(get(axe1,'xlabel'),'string','time')
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps 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!