Free software for plotting bands around curves to show error margins

2 replies · 2K views · last reply
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:
[itex]y= bx + (c \pm \delta c)[/itex] to get something like the yellow band in this (of course it's just an example for what I'm looking):
Log-log plot of axion coupling against axion mass, with shaded exclusion regions from LSW, helioscopes, haloscopes, telescopes and massive stars, and a yellow band with dashed KSVZ and DFSZ lines.
 
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   Reactions: ChrisVer