custom labels for errorplot
조회 수: 10 (최근 30일)
이전 댓글 표시
Hi all,
is there a way to add custom labels to each errorbar in an erroplot using a code (instead of a manual text box)?
In my case I want to add one label at the bottom of the negative bar -> displayed above in the example below as the yscale is reversed).
댓글 수: 0
채택된 답변
Peng Li
2020년 5월 9일
using annotation
annotation('textbox', pos, 'String', str, 'FitBoxToText', 'on');
pos is the position where you want to put the textbox in [x, y, width, height], and string is what you want to show.
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Errorbars에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!