Doubt in plot, help me

3 vues (au cours des 30 derniers jours)
Rodrigo Franco
Rodrigo Franco le 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

Réponses (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by