Doubt in plot, help me
显示 更早的评论
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
2016-3-4
Try this
grid on;
line(xlim, [0,0], 'Color', 'k', 'LineWidth', 3);
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!