How to implement ColorMap into bar plot ?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to create a barplot with the colorcode [0 0 0.8]. How do i do that.
Current code:
figure(1) subplot(3,1,1) bar(-200:1:200,center_rel_01,'r'); grid on ylabel('Rel. Peak Area','FontSize',12,'FontWeight','bold') xlabel('m/z','FontSize',15,'FontWeight','bold') xlim([-200 200]) ylim([0 0.3]) h = legend('2a: NaCl pure');
color 'r' should now be changed in 'Color',[0 0 0.8] somehow?
Thanks
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Color and Styling en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!