bar3 color change
    18 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    yp78
 el 9 de Dic. de 2021
  
    
    
    
    
    Respondida: Awais Saeed
      
 el 9 de Dic. de 2021
            I am referring to this site for the 3D bar graph. How can I change/specify the color of each bar graph by column?
For example, how can I change the third bar chart from yellow to red?
load count.dat
Z = count(1:10,:);
figure
bar3(Z)
title('Detached Style')

0 comentarios
Respuesta aceptada
  Awais Saeed
      
 el 9 de Dic. de 2021
        load count.dat
Z = count(1:10,:);
h = bar3(Z);
title('Detached Style')
set(h(3),'facecolor','red');
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
