How to plot 3 variables (3rd variable on the colorbar)?
Afficher commentaires plus anciens
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

Réponse acceptée
Plus de réponses (1)
Image Analyst
le 25 Mai 2019
0 votes
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 commentaire
Phoenix
le 25 Mai 2019
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

