Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

Need ghistogram #196

@BruceSherwood

Description

@BruceSherwood

The graphing package should include a ghistogram option (in lib/glow/graph.js). This could perhaps be similar to matplotlib:

https://matplotlib.org/examples/statistics/histogram_demo_cumulative.html
n, bins, patches = ax.hist(x, n_bins, normed=1, histtype='step',
                       cumulative=True, label='Empirical')

Another possibility is the form of ghistogram in VPython 6:

https://vpython.org/contents/docs/graph.html

There is an example of making a histogram using the existing graphing options:

https://www.glowscript.org/#/user/GlowScriptDemos/folder/Examples/program/HardSphereGas-VPython

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions