Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Set colourmap of a figure based on the output of a script

1 vue (au cours des 30 derniers jours)
Nicholas
Nicholas le 20 Déc 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi everyone,
I have created a surface plot of an echocardiogram based on a VTK file output from the echo software. (please see attached). I want to map the colour of each individual (x,y,z) point to the output of a script which computes certain parameters at each point into a matrix.
Can anyone set me in the right direction?
Nic

Réponses (1)

Image Analyst
Image Analyst le 20 Déc 2014
If you use scatter3, you can specify the size and color of each marker using whatever algorithm you want.
  1 commentaire
Nicholas
Nicholas le 20 Déc 2014
nice thanks - will give it a go and let you know how it goes

Community Treasure Hunt

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

Start Hunting!

Translated by