Grid line for x=0 and y=0
Show older comments
Hello! Let us say we have a ordinary graph with x and y axes: I want to have one grid line at x=0 and one at y=0. That would make it much easier to read where a graph is negativ or positive. Couldnt find such possibility here.
Thanks in advance for helping out :-)
Regards Dennis
Answers (3)
Jos (10584)
on 18 Mar 2014
Take a look at GRIDXY, available on the File Exchange:
gridxy(0,0)
would yield exactly what you want. And you can even play with the line-styles
Dennis
on 18 Mar 2014
0 votes
Dennis
on 18 Mar 2014
0 votes
Categories
Find more on Grid Lines, Tick Values, and Labels 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!