Borrar filtros
Borrar filtros

Chang color of errorbar vertical line.

1 visualización (últimos 30 días)
chaturika Jayawardane
chaturika Jayawardane el 7 de Abr. de 2016
Respondida: Ryan Santos el 11 de Abr. de 2016
I have two lines in a single error bar. But I cannot change the color of the vertical lines they overlap and hard to identify which range is for the data point in which line.
please help

Respuestas (1)

Ryan Santos
Ryan Santos el 11 de Abr. de 2016
Hello Chaturika,
I am having trouble understanding exactly what you are trying to do in this situation. If you mean you want to make different parts of the same 'errorbar' different colors, then that is not possible unless you are manually drawing the lines yourself. An 'errorbar' can only be one color. However, you can specify this color when creating the 'errorbar'. Looking at the Matlab 'errorbar' documentation, you can see one example of how to do this:
Additionally, in the top right corner, there is an "Open this Example" button which will point towards a location in your Matlab installation which has some example files.
Hope this information is helpful and you are able to resolve your issue.
Thanks,
Ryan Santos

Categorías

Más información sobre Errorbars 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!

Translated by