©
Histogram: plotting
Plots a gnuplot multi-column histogram.
2024.Nov.25 06:50:54
x0, xf Range for x.
Poisson λ Poisson mean.
Δx (positive integer) Plotting step.
Show values Show graph coordinates.

Computes Poisson probabilities and their Gaussian approximation, (μ, σ) = (λ, √λ). This is essentially a template for multi-column, histogram-type plots in gnuplot.

Draws a graph of the probabilities for the Poisson probabilities and their Gaussian approximation.


Computation structure — A PHP file (this page: 'P-histogram.php') calls (via 'action=') an intermediate PHP file ('Histogram.php'), which (through $_POST) sends the problem data as command line arguments to a Python script. This last does the computing, and executes graphing via 'gnuplot' (system call), for the final (temporary) webpage. Keywords: PHP, command line arguments, Python script, gnuplot, template.

References: Plate: MultiColumn

• (Wikipedia) PHP (from Personal Home Page) • Python (programming language).

• Python Built-in Functions, print.

• Normal Approximation to Poisson (λ) Distribution (SOCR UCLA).

• (Wikipedia) Poisson distribution; gnuplot.

• Burkardt, J., Sample Data for Graphics Demonstrations , accessed 2023-01-25.

• CISTI'2024, 19.ª Conferencia Ibérica de Sistemas y Tecnologías de Información (19.th Iberian Conference on Information Systems and Technologies), Cáceres (Spain), 19–22 June 2024 (to be confirmed as of Jan'23).

• 1843-01-25: Schwarz, Hermann Amandus (†1921-11-30, 78 yrs.).

 
 
Valid HTML 5! IST http://web.ist.utl.pt/~mcasquilho/compute/meeting/garage/P-histogram.php
Created: 2023-01-25 — Last modified: 2023-01-28