Are there xdata and ydata properties for fill command?

1 visualización (últimos 30 días)
Ali
Ali el 2 de Dic. de 2014
Comentada: Azzi Abdelmalek el 2 de Dic. de 2014
Are there xdata and ydata properties for fill command? If not what is suitable to change their x and y components because i want to set them. Thanks

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Dic. de 2014
x=[0 10 10 5 0 ]
y=[0 0 2 1 2 ]
h=fill(x,y,'r')
get(h,'xdata')
get(h,'ydata')
  2 comentarios
Ali
Ali el 2 de Dic. de 2014
Thank you but how can I use it to set my xdata and ydata for fill?
Azzi Abdelmalek
Azzi Abdelmalek el 2 de Dic. de 2014
y=[0 0 2 5 2 ] % change y for example
set(h,'ydata',y)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer 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