labelling the colormap and adjusting the x label of a 3D surface plot
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I am trying to plot a 3D surface plot in matlab with a colorbar.
I would like to know how to
1) label the title of the colorbar
2) change the axis tick labels
The important parts of my code are number_panels = 1:100:500; number_turbines = 0; number_batteries = 0:300:1700;
for idx_number_panels = 1:length(number_panels)
for idx_number_turbines = 1:length(number_turbines)
for idx_number_batteries = 1:length(number_batteries)
for h=2:3 %# hours
A = squeeze(total_annual_cost)
B = squeeze(total_renewables_penetration)
figure;
surface(A,B)
I am trying to change the x and y axis ticks from the intervals of the for loop to actual numbers that represent each interval.
I can't seem to find any of the above in the documentation
Thank you
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Colorbar dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!