How to plot a 3-D "hotspot" figure

I have a set of coordinates (x,y,z) for which there is a value f(x,y,z) I would like to illustrate. For the most part f will be close to zero, but in the vicinity of a small number of coordinates f will take an arbitrarily large value. My ambition is to illustrate this in such a way as these coordinates of interest appear as 'hotspots' within a cuboid defined by designated bounds on x,y,z. Should this be possible I aniticipate that the illustration would appear as a small number of spheres within the cuboid. Can anyone advise how such a plot can be implemented?

 Respuesta aceptada

Les Beckham
Les Beckham el 27 de Jul. de 2022

1 voto

I would suggest looking at this example for the scatter3 function: scatter3 with varying marker colors
You could use your f(x, y, z) as the c (color) argument. It is also possible to have varying marker sizes.

5 comentarios

RickyBoy
RickyBoy el 27 de Jul. de 2022
I see your thinking ... I will try it out and revert, appreciate the response
RickyBoy
RickyBoy el 28 de Jul. de 2022
Indeed with a bit of fine-tuning, this will do the job. Thank you @Les Beckham
RickyBoy
RickyBoy el 28 de Jul. de 2022
An early example ... for illustration
Les Beckham
Les Beckham el 29 de Jul. de 2022
You are welcome.
RickyBoy
RickyBoy el 29 de Jul. de 2022
A more refined version, much as I was aiming for. A good illustration of the contribution of @Les Beckham

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Versión

R2022a

Preguntada:

el 27 de Jul. de 2022

Comentada:

el 29 de Jul. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by