Borrar filtros
Borrar filtros

How to change the color of origin lines in a plot ?

5 visualizaciones (últimos 30 días)
Arsalan Amin
Arsalan Amin el 16 de Mayo de 2021
Comentada: Arsalan Amin el 16 de Mayo de 2021
Below given is the code and its graph.
But I want to change the colour of both the origin lines in the grid as depicted below, if it is possible. It's ok if both the line get same color but it would be fantastic if they both are of different color. (I don't want to center the origin or anything else, just a color change of both the identified lines).

Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Mayo de 2021
xline(0, 'color', [255 84 2]/255)
yline(0, 'color', [254 169 1]/255)
  3 comentarios
Walter Roberson
Walter Roberson el 16 de Mayo de 2021
I opened the image in MATLAB and used the data cursor to read off the colors; I did not refer to any site for the color codes.
Arsalan Amin
Arsalan Amin el 16 de Mayo de 2021
Got it. Thank you once again.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by