{"id":14966180,"url":"https://github.com/azawawi/perl6-graphics-plplot","last_synced_at":"2026-03-27T02:09:43.495Z","repository":{"id":149410264,"uuid":"92330679","full_name":"azawawi/perl6-graphics-plplot","owner":"azawawi","description":"Perl 6 native bindings for PLplot","archived":false,"fork":false,"pushed_at":"2017-05-28T01:05:48.000Z","size":59,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T19:39:44.739Z","etag":null,"topics":["graphics","perl6","plot","plplot"],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azawawi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-24T19:50:21.000Z","updated_at":"2018-07-20T15:45:03.000Z","dependencies_parsed_at":"2023-09-03T22:39:42.882Z","dependency_job_id":null,"html_url":"https://github.com/azawawi/perl6-graphics-plplot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/azawawi/perl6-graphics-plplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azawawi%2Fperl6-graphics-plplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azawawi%2Fperl6-graphics-plplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azawawi%2Fperl6-graphics-plplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azawawi%2Fperl6-graphics-plplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azawawi","download_url":"https://codeload.github.com/azawawi/perl6-graphics-plplot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azawawi%2Fperl6-graphics-plplot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31009303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T01:56:05.093Z","status":"online","status_checked_at":"2026-03-27T02:00:08.055Z","response_time":164,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphics","perl6","plot","plplot"],"created_at":"2024-09-24T13:35:58.103Z","updated_at":"2026-03-27T02:09:43.476Z","avatar_url":"https://github.com/azawawi.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphics::PLplot\n[![Build Status](https://travis-ci.org/azawawi/perl6-graphics-plplot.svg?branch=master)](https://travis-ci.org/azawawi/perl6-graphics-plplot) [![Build status](https://ci.appveyor.com/api/projects/status/github/azawawi/perl6-graphics-plplot?svg=true)](https://ci.appveyor.com/project/azawawi/perl6-graphics-plplot/branch/master)\n\nThis module provides Perl 6 low and high-level native bindings for\n[PLplot](http://plplot.sourceforge.net/).\n\nNote: Currently work in progress and the API is being implemented one brick at\na time. Help and feedback is appreciated.\n\nPLplot is a library of subroutines that are often used to make scientific plots\nin various compiled languages. PLplot can also be used interactively by\ninterpreted languages such as Octave, Python, Perl and Tcl. The current version\nwas written primarily by Maurice J. LeBrun and Geoffrey Furnish and is licensed\nunder LGPL.\n\n## Example\n\n```Perl6\nuse v6;\nuse Graphics::PLplot;\n\nif Graphics::PLplot.new(\n    device    =\u003e \"png\",\n    file-name =\u003e \"output.png\"\n) -\u003e $plot  {\n\n    # Begin plotting\n    $plot.begin;\n\n    # Create a labeled box to hold the plot.\n    my $y-max = 100;\n    $plot.environment(\n        x-range =\u003e [0.0, 1.0],\n        y-range =\u003e [0.0, $y-max],\n        just    =\u003e 0,\n        axis    =\u003e 0,\n   );\n    $plot.label(\n        x-axis =\u003e \"x\",\n        y-axis =\u003e \"y=100 x#u2#d\",\n        title  =\u003e \"Simple PLplot demo of a 2D line plot\",\n   );\n\n    # Prepare data to be plotted.\n    constant NSIZE = 101;\n    my @points = gather {\n        for 0..^NSIZE -\u003e $i {\n            my $x = Num($i) / (NSIZE - 1);\n            my $y = Num($y-max * $x * $x);\n            take ($x, $y);\n        }\n    };\n\n    # Plot the data that was prepared above.\n    $plot.line(@points);\n\n    LEAVE {\n        $plot.end;\n    }\n}\n```\n\nFor more examples, please see the [examples](examples) folder.\n\n## Installation\n\n* On Debian-based linux distributions, please use the following command:\n```\n$ sudo apt install libplplot-dev\n```\n\n* On Mac OS X, please use the following command:\n```\n$ brew update\n$ brew install plplot\n```\n\n* Using zef (a module management tool bundled with Rakudo Star):\n```\n$ zef install Graphics::PLplot\n```\n\n## Testing\n\n- To run tests:\n```\n$ prove -ve \"perl6 -Ilib\"\n```\n\n- To run all tests including author tests (Please make sure\n[Test::Meta](https://github.com/jonathanstowe/Test-META) is installed):\n```\n$ zef install Test::META\n$ AUTHOR_TESTING=1 prove -e \"perl6 -Ilib\"\n```\n\n## Author\n\nAhmad M. Zawawi, azawawi on #perl6, https://github.com/azawawi/\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazawawi%2Fperl6-graphics-plplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazawawi%2Fperl6-graphics-plplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazawawi%2Fperl6-graphics-plplot/lists"}