how to color a surface?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Evrytime i try to color a surface the entire plot comes out to be pitch black in color. i tried these codes..please temme if they r right or wrong.
figure(6)
colormap hsv
surf(ti,X,P_s)
colorbar
ylabel('Distance along pipeline (m)')
xlabel('time (hours)')
zlabel('Pressure (bar)')
grid on
plzz help!
10 Commenti
Risposte (1)
Youssef Khmou
il 26 Ago 2013
I think your data have many isosamples, that makes the colormap concentrated because of the interpolation,add this command before using colormap :
shading interp
0 Commenti
Vedere anche
Categorie
Scopri di più su Orange in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!