Visualization of standard deviation in scatter plot

4 views (last 30 days)
Hello
I have a 2-d scatter plot in Matlab. Let's assume the following scatter plot:
x = linspace(0,3*pi,200);
y = cos(x) + rand(1,200);
scatter(x,y)
For each point in this plot I have a standard deviation in x and y direction. Now I would like to visualize the standard deviations of each point. A possibility would be to draw a circle (or rectangle) around each point. The problem is that I have many points and the circle / rectangles would highly overlap.
What are the best solutions for this visualization?
  2 Comments
KSSV
KSSV on 9 Oct 2017
You can fill the markers with your standard deviation value colors....won't it work?
Sepp
Sepp on 9 Oct 2017
Unfortunately not because I have two standard deviation values for each point, so I would need to colors...

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!