Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Label data with values from two columns

Aberta
#34 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
65/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa

Direção de pesquisa

Look at the plot library's DSL for specifying color and legend mappings, likely in the geom:point definition. Check examples of multi-series plots in the documentation or test suite. The goal is to produce a Vega-Lite spec that encodes both p and n (perhaps using color for one and facet or shape for the other) to replicate the binomial distribution figure.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Hello,

I would like to reproduce the figure from Wikipedia's page on the bionmial probability: image link

I would assume that my data should have 4 columns:

  • k (x-axis)
  • probability (y-axis)
  • p (holding values 0.5 and 0.7)
  • n (holidng values 20 and 40)

How to specify p and n for color (and thereby legend I assume)? Right now I have (approximately)

                               (geom:point :k :probability :color :p)

Is this the right place to ask these questions. Or is reddit's Common Lisp channel better?

Linguagem predominante
Common Lisp
Estrelas
38
Forks
11
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Lisp-Stat/plot

Todas as issues de Lisp-Stat/plot

Issues semelhantes

Mais issues de Data Visualization

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.