フィルターのクリア

labelling the colormap and adjusting the x label of a 3D surface plot

2 ビュー (過去 30 日間)
Andrew Alkiviades
Andrew Alkiviades 2012 年 10 月 15 日
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 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by