EndStream — End a Motion-JPEG (or other type) plot stream
$plot->EndStream()
EndStream
is used to end a plot stream, started
with StartStream and containing frames produced by
PrintImageFrame.
This function simply outputs the ending MIME boundary for the stream.
The three functions StartStream,
PrintImageFrame, and EndStream
are used together to produce streaming plots.
Scripts producing streaming plots must use a web server.
The PHP CLI will not work, because streaming plots require HTTP headers.
For more on streaming plots, see Section 4.9, “Streaming Plots”.
See PrintImageFrame for a partial example, and Section 4.9.3, “Streaming Plots - Example” for the complete example.
This version of the manual was produced for the
PHPlot Sourceforge project web service site, which requires the logo on each
page.
To download a logo-free copy of the manual, see the
PHPlot project downloads
area.