Doubt in plot, help me

4 views (last 30 days)
Rodrigo Franco
Rodrigo Franco on 4 Mar 2016
Answered: Image Analyst on 4 Mar 2016
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

Answers (1)

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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!