Plotting a confidence interval
3 次查看(过去 30 天)
显示 更早的评论
I have a 100 by 3 matrix of a series and its confidence interval, what is the best way to plot this nicely in Matlab ?
I apologize in advance for the somewhat loose question, if anyone knows how to specify the colors of the plot to be blue, green, green that would also be fine.
Thank you
Basic code outline:
plot(x,[y1 c1 c2])
0 个评论
回答(1 个)
Shashank Prasanna
2013-6-22
plot(x,y1,'b',x,c1,'r:',x,c2,'r:')
You will find all the information you need about formatting in the doc right here:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!