pedagogy icon indicating copy to clipboard operation
pedagogy copied to clipboard

Give anotation for plot

Open Davidlimbong opened this issue 7 years ago • 1 comments

this plot should have notes that explain the value. I can't understand what the value mean on this plot

image

Davidlimbong avatar Feb 06 '19 08:02 Davidlimbong

OK, will add description. To immediately answer the question, the value is the mean applied to a monotonic interpolation function. The code from that commit was:

a = alt.Chart(resp_nwm).mark_square(size=40).encode(
    x=alt.X('variable:N', scale=alt.Scale(rangeStep=80), axis=alt.Axis(labelAngle=0)),
    y=alt.Y('value')
    ...
b = a.mark_line(opacity=0.8, interpolate='monotone').encode(
    x=alt.X('variable')
)

But it's a good idea, and I think it's worth the effort to add a description

onlyphantom avatar Feb 07 '19 12:02 onlyphantom