필터 지우기
필터 지우기

Showing Standard deviation (errorbar) in Radar Plot / on rotated axes

조회 수: 11 (최근 30일)
Freya H
Freya H 2018년 8월 14일
댓글: dpb 2018년 8월 16일
In my radarplot I calculate the mean of certain values which I show on each one of the axes. I would now like to add an errorbar.
My issue is that I cannot rotate the errorbar in the same way the 'normal' points are rotated (using pol2cart). You can see that result in the picture kiviat1.
My idea to work around this was to just add every errorbar as their own plot. You can see that result in kiviat2. As you can see, the errorbar is rotated, but I cannot find a way to have a nice marker that will actually make it look like a regular standard deviation.
I would be glad to get some new solution ideas. I have also attached an example testscript and the radar plot function (lines 227 and following are the ones where the points are plotted).
  댓글 수: 3
Freya H
Freya H 2018년 8월 16일
You are absolutely right, I do not like it :D But thanks anyways - I guess that is what I'm going to try now.
It's just going to be so annoying as the number of axes (and thus the angles of the axes) can vary .__.
dpb
dpb 2018년 8월 16일
It should be possible to do the required geometry transformation based on that number/angle and wrap in a function so that you only then have to deal with the details once.

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

채택된 답변

Freya H
Freya H 2018년 8월 16일
@dpb: thanks again for the final idea & you are right, it wasn't all to difficult to set up all bars at once.
Not the nicest solution and something is slightly off in the transformation (angles are not exactly 90 degrees), but I didn't care enough to fix it as it's barely noticeable.
This function now creates the kiviat diagram including errorbars:
  댓글 수: 1
dpb
dpb 2018년 8월 16일
Bravo! Looks good to me...I'd never notice any off-normal projection if weren't mentioned and I'm not sure I can really tell even when told...

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by