Borrar filtros
Borrar filtros

Movies and handles in Matlab

2 visualizaciones (últimos 30 días)
Harshit
Harshit el 20 de Feb. de 2012
For my assignment I am supposed to read particle positions from 2 files (2 particles) which are moving towards each other over time, then colliding and moving back.
The question requires the particles to be given dimensions that is a shape and they should be colored the hint says we can use "fill" or a "patch" command to give the particles size and colour and the catch is that the colour of the particles should change with the change in velocity which is also to be read from files.
Does anyone have any idea how to do any of that!

Respuestas (2)

Walter Roberson
Walter Roberson el 20 de Feb. de 2012
You can set() the FaceColor property of the patch() you create.

Image Analyst
Image Analyst el 20 de Feb. de 2012

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!

Translated by