Dear All, I have two set of data column x and y. I have plotted plot (x,y). y is oscillatory. I want to shade the area above and below x axis with different colors like shown in image. Can anyone please help me. I have attached the data in excel she
2 次查看(过去 30 天)
显示 更早的评论
Two columns of data x and y, importing and polt them. Y is oscilatory, so i want to fill the graph with different colors such that above x axis one color and below x axis, another color.
2 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!