Doubt in plot, help me

16 次查看(过去 30 天)
Rodrigo Franco
Rodrigo Franco 2016-3-4
Hello guys, how are u? I'm a doubt in plot graphics in matlab. How i put a line in axis x in matlab, 'cause when i put values in variables x and y, dont have a line in axis x. For example: Look the picture:
I want so:
Help me pelase

回答(1 个)

Image Analyst
Image Analyst 2016-3-4
Try this
grid on;
line(xlim, [0,0], 'Color', 'k', 'LineWidth', 3);

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by