Guest User

Untitled

a guest
Aug 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. How to plot Error bar plot with standard deviation values in Matlab?
  2. x = 1:0.1:10;
  3. y = sin(x);
  4. e = 0.1 * randn(length(x), 1);
  5.  
  6. errorbar(x,y,e)
  7.  
  8. set(gca, 'Xlim', [4 10])
  9. set(gca, 'XTick', 4:2:10)
Add Comment
Please, Sign In to add comment