Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : modernc.org/plot

Package plot wraps Gnuplot, the portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms. See also: http://www.gnuplot.info/ Use the File and Script functions to execute a Gnuplot script in a file or []byte respectively. Use the Parse, ParseString and ParseFile functions to parse a Gnuplot script comming from an io.Reader, string and named file respectively. The grammar of Gnuplot scipts is not context free and is defined, at least partially, by implementation. It's impossible to create a proper LALR(1) grammar for a yacc based parser. The parser provided by this package approximates the Gnuplot grammar. It will reject some Gnuplot scripts which are accepted by the Gnuplot program and it will accept some other scripts which are rejected by the same. Between those extremes are many, if not most, scripts that the parser recognizes correctly. Keywords, like 'with', 'lines' etc., can be shortened as long as they're unambiguous, so for example 'plot sin(x) w li' is a valid Gnuplot statement. The parser in this package handles shortened keywords only partially. Some scripts rejected by the parser will be accepted when modified to use full, non-shortened keywords. Please share your Gnuplot scripts which the parser does not accept, or incorrectly accepts, and fill a report at the project issue tracker.

Registry - Source - Documentation - JSON
purl: pkg:golang/modernc.org/plot
License: BSD-3-Clause
Latest release: over 3 years ago
First release: over 5 years ago
Namespace: modernc.org
Stars: 1 on GitLab.com
Forks: 0 on GitLab.com
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago

    Loading...
    Readme
    Loading...