to highlight median value on the plot.
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello ,
i have plotted a graph using
cdfplot(z)
now i need to indicate median as a line on graph as shown below![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/314015/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/314015/image.png)
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 comentarios
Respuestas (1)
KSSV
el 11 de Jun. de 2020
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 comentarios
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!