plot icon indicating copy to clipboard operation
plot copied to clipboard

plot: consider implementing a gradient

Open sbinet opened this issue 5 years ago • 2 comments

the original query had landed there: https://github.com/go-hep/hep/issues/701

it would be great to allow some filling an area of a plot with a gradient. e.g.: something along the lines of img cmb

as noted in the the original issue, there are already a couple of gradient implementations:

  • https://github.com/lucasb-eyer/go-colorful/blob/master/doc/gradientgen/gradientgen.go
  • https://godoc.org/golang.org/x/exp/shiny/iconvg/internal/gradient

sbinet avatar Jun 03 '20 17:06 sbinet

SGTM

kortschak avatar Jun 03 '20 22:06 kortschak

Maybe my color scales library will be useful here.

https://github.com/mazznoer/colorgrad

mazznoer avatar Mar 04 '21 19:03 mazznoer