How can I change the bar style in a errorbar plot?
Ältere Kommentare anzeigen
Hi, I have a problem when I update my Matlab version from 2012b to 2014b. The problem is when I plotted any figure in Matlab 2012b I can access to any object and modify it. For now under Matlab 2014b I cannot access these objects. This is a global problem for Matlab 2014b, so I focus on a specific one:
How can I now modify the bars of the errorbar plot in order to get dashed errorbar style under Matlab 2014b. This is my code under Matlab 2012b:
hline = errorbar(x,y,L,U,'r','LineStyle','none');
hline = get(hline,'Children');
set(hline(2),'LineStyle','--');
best regards,
Kevin
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Errorbars finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!