How to plot 3 variables (3rd variable on the colorbar)?
Mostra commenti meno recenti
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

Risposta accettata
Più risposte (1)
Image Analyst
il 25 Mag 2019
0 voti
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 Commento
Phoenix
il 25 Mag 2019
Categorie
Scopri di più su Purple in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

