필터 지우기
필터 지우기

median line in the histogram of the image

조회 수: 2 (최근 30일)
Malini Bakthavatchalam
Malini Bakthavatchalam 2020년 12월 1일
댓글: Malini Bakthavatchalam 2020년 12월 1일
Hi I want to add a median line to the histogram and represent that line in different color. How do i do that ?

채택된 답변

Stephan
Stephan 2020년 12월 1일
A = randn(100,1)
histogram(A)
xline(median(A),'-r','LineWidth',2)
  댓글 수: 1
Malini Bakthavatchalam
Malini Bakthavatchalam 2020년 12월 1일
i have an image, and the xline is not working for me

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by