Doubt in plot, help me
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Image Analyst
on 4 Mar 2016
Try this
grid on;
line(xlim, [0,0], 'Color', 'k', 'LineWidth', 3);
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!