필터 지우기
필터 지우기

How to display values on the Sobol index plot automatically on top of the bars without using annotate or text function? I need to display the plot like the one attached here

조회 수: 1 (최근 30일)
I have obtained the plot for Sobol index using Global sensitivity analysis tool in matlab. Now in order to get the value of Sobol index clearly, i want the index value to be displayed on the top of the bar 1 and bar 2 as shown in the attached file for example. Is there any automatic way to do the same? I have gone through multiple documents, but everywhere the use of 'text' or 'annotate' is suggested, which is not my requirement. Any help is highly appreciable.
  댓글 수: 1
Shivam
Shivam 2023년 10월 13일
Hi,
Why do you not want to use 'text' and 'annotate' functions to help me identify the root cause issue in your workflow?

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

답변 (1개)

Shivam
Shivam 2023년 10월 13일
Hi Darshna,
I understand that you want to label the bars of the plot without using the 'text' and 'annotate' functions.
You can use the 'barlabel' function to label the bars. You can download the 'barlabel.m' file through the following file-exchange link and keep it in the working directory. This resource should provide valuable insights on how to proceed with it.
I hope it helps to resolve your query.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by