coloring curve segments or dots ?

Hello,

I would like to color curve segments according to some data:

  • we have two sets of coordinates x and y for a curve
  • we have a third coordinate c
  • we want to color the points or segments on the curve according to c
    How could I do that in Bokeh (or Holoviews) ?

A solution for dots would be nice, a solution for segments would be even better.

Thanks,

Michel

Hi,

I don't really understand what you are asking for from this description. Maybe you can provide and image or picture of something similar?

Bryan

···

On Aug 25, 2017, at 07:31, jadoul.michel via Bokeh Discussion - Public <[email protected]> wrote:

Hello,

I would like to color curve segments according to some data:

  • we have two sets of coordinates x and y for a curve
  • we have a third coordinate c
  • we want to color the points or segments on the curve according to c
How could I do that in Bokeh (or Holoviews) ?
A solution for dots would be nice, a solution for segments would be even better.

Thanks,

Michel

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/169eee1f-da44-4413-a4a3-1e53c1b77b76%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thanks Bryan!

Below is a chart showing what I would like to do with Bokeh or Holoviews:

Clearly a picture is better than many words!

Michel