Hi,
I have a plot with two trajectories of each 100 data points and underneath at the bottom of the x-axis a dotted line indicating a significant difference of the two trajectories. Now I would love to also print the exact p-value on top of the dotted line. But I am completely at a loss how to do this. Can someone give me a hint?
I attached a file of the graph that I hae so far. Each red dotted line would have it's own p-value (in this case two p-values).
Thanks!

 채택된 답변

the cyclist
the cyclist 2021년 10월 19일

0 개 추천

You can use the text or annotation functions. The text function is easier, but the annotation function is more powerful.

댓글 수: 1

Nona
Nona 2021년 10월 20일
Thanks, that was easier than expected!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

제품

릴리스

R2021a

태그

질문:

2021년 10월 19일

댓글:

2021년 10월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by