Building Graph Bands with Errors

Click For Summary
Several users are seeking free software options to create graph bands that account for errors, rather than just line curves. A specific example provided is the equation y = bx + (c ± δc), which illustrates the desired output. While ROOT is mentioned as a capable tool, alternatives are preferred. Python's matplotlib library is highlighted as a viable solution, particularly using the "fill_between" function for this purpose. The discussion emphasizes the need for accessible tools to visualize error bands in graphs effectively.
ChrisVer
Science Advisor
Messages
3,372
Reaction score
465
I'm not really sure where this thread belongs...

Do you know any (free) program that can allow to build bands (instead of just line curves) to take into consideration the errors of a graph?

eg if I want to draw:
y= bx + (c \pm \delta c) to get something like the yellow band in this (of course it's just an example for what I'm looking):
Χωρίς τίτλο2.jpg
 
Physics news on Phys.org
Looks like a science software question.

ROOT can do it, but I would avoid it if possible...
 
There probably are several programs that do it and probably several ways to do it...a quick search reveals that you should be able to do it using python/matplotlib with the "fill_between" plotting funtion; see this example.
 
  • Like
Likes ChrisVer

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 56 ·
2
Replies
56
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 24 ·
Replies
24
Views
4K