Showing Standard deviation (errorbar) in Radar Plot / on rotated axes
Show older comments
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 Comments
dpb
on 14 Aug 2018
I've only got one idea and you're probably not going to like it... :)
My first thought was you might be able to create additional axes and use view to change azimuth angle to rotate the y-axis to be parallel to the desired angle and then perhaps the HG rendering would handle it for you -- but, no, the bars and plots are rotated but the error bars at the ends stay horizontal.
So, the only ending thought I have is that would have to just draw the errorbars yourself as discrete lines at the right position and angles...
Freya H
on 16 Aug 2018
dpb
on 16 Aug 2018
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.
Accepted Answer
More Answers (0)
Categories
Find more on Errorbars in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!