Insert a label in waterfall plot
Afficher commentaires plus anciens
Hello everyone! I would like to if anyone knows how to label a waterfall plot. I have a waterfall plot as shown in the figure. The lines represents the 'Engine orders'. I wish to have a text aside each line, such that it each line mentions the engine orders like a label. This is my code, just in case!
figure(50);
wf = waterfall([a1 a1 a1 a1]',[F1 F2 F3 F4]',[t1 t2 t3 t4]');
view([0 90]); %Sets the default viewport to X-Y plane
xlabel('RPM','FontSize',12,'Fontweight','bold');
ylabel('Frequency','FontSize',12,'Fontweight','bold');
title('Campbell diagram','FontSize',16,'Fontweight','bold');
cb = colorbar('eastoutside');
set(get(cb,'title'),'string','Schalleistung in dB');
set(wf,'Linewidth',4);
Thank you in advance!

Réponses (1)
Joachim Schlosser
le 10 Nov 2015
Modifié(e) : Joachim Schlosser
le 10 Nov 2015
0 votes
1 commentaire
Karthik Brs
le 10 Nov 2015
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!