How to plot 3 variables (3rd variable on the colorbar)?
Mostrar comentarios más antiguos
I have three variables (below). I wonder on how will I plot it to achieve something similar with the attached picture?
X = day in a year (1 to 365) --> in days
Y = time in a day (1 up to 24) --> in hours
Z = load data in kW say for example

Respuesta aceptada
Más respuestas (1)
Image Analyst
el 25 de Mayo de 2019
0 votos
You can make an image. If you don't have data for every x and y then use scatteredInterpolant. Then use imshow(Z) and colormap(jet(256)); to plot it.
1 comentario
Phoenix
el 25 de Mayo de 2019
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

