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

8 次查看(过去 30 天)
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).

采纳的回答

Walter Roberson
Walter Roberson 2021-5-16
xline(0, 'color', [255 84 2]/255)
yline(0, 'color', [254 169 1]/255)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by