Azzera filtri
Azzera filtri

How do I control errorbar line appearance independently of the markers?

1 visualizzazione (ultimi 30 giorni)
How do I control the appearance of errorbars?
I want to change the line style of the errorbars independently of the markers
Thanks,
Ziv
  4 Commenti

Accedi per commentare.

Risposta accettata

KALYAN ACHARJYA
KALYAN ACHARJYA il 18 Mar 2019
Modificato: KALYAN ACHARJYA il 18 Mar 2019
-Now, change the whiskers into red '--' while keeping the 'x' data a blue 'o'-
x = 1:10:100;
err = 8*ones(size(x));
errorbar(x,err,'o');
hold on;
errorbar(x,err,'r','linestyle','none');
Note: There may be more easy way

Più risposte (0)

Categorie

Scopri di più su Errorbars in Help Center e File Exchange

Prodotti


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by