to highlight median value on the plot.
    6 次查看(过去 30 天)
  
       显示 更早的评论
    
hello ,
i have plotted a graph using
cdfplot(z)
 now i need to indicate median  as a line on graph as shown below

here i need the red lines shown above.
one i need at y-axis = 0.5 and one at Y-axis = 0.9.
i also want to display the corresponsing x value their.
thank you in advance 
0 个评论
回答(1 个)
  KSSV
      
      
 2020-6-11
        You can get the corresponding points and use plot to draw a line. 
To show up the text, you can use the function text. 
5 个评论
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
