{"id":16088576,"url":"https://github.com/halidodat/graph-c","last_synced_at":"2025-04-05T16:12:01.382Z","repository":{"id":116627617,"uuid":"303379055","full_name":"HalidOdat/graph-c","owner":"HalidOdat","description":"Graphing tool written in c","archived":false,"fork":false,"pushed_at":"2020-10-12T13:24:43.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T12:45:25.973Z","etag":null,"topics":["c","cli","graph","tool"],"latest_commit_sha":null,"homepage":"","language":"C","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/HalidOdat.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":"2020-10-12T12:04:58.000Z","updated_at":"2021-02-05T10:38:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e38e66a1-1e3c-46ea-a70b-fed4b05405b8","html_url":"https://github.com/HalidOdat/graph-c","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalidOdat%2Fgraph-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalidOdat%2Fgraph-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalidOdat%2Fgraph-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalidOdat%2Fgraph-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HalidOdat","download_url":"https://codeload.github.com/HalidOdat/graph-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361700,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["c","cli","graph","tool"],"created_at":"2024-10-09T13:37:03.278Z","updated_at":"2025-04-05T16:12:01.321Z","avatar_url":"https://github.com/HalidOdat.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graph-c\n\nA graphing tool written in C.\n\n## Build\n\nIt requires c99 and link with `math` lib.\n\n```bash\ngcc graph.c -lm -o graph\n```\n\n## Usage\n\nCurrently the only way to change the function is to change the source codes `f` function.\n\nThere are also some command line options available:\n```\n$ graph --help\nUsage: ./graph [OPTIONS]\n\nOPTIONS:\n    --no-color                           -    Print graph without color.\n    --scale or -s \u003cNUMBER\u003e               -    Scale/zoom the graph.\n    --height or -h \u003cINTEGER\u003e             -    The height of the graph.\n    --wigth or -w \u003cINTEGER\u003e              -    The width of the graph.\n    --intercept-char or -i \u003cCHARACTER\u003e   -    The intercept char on the graph, default is '@'\n    --help or -?                         -    Prints this usage text.\n```\n\n## Examples\n\nFunction `f(x) = x`:\n\n![`f(x) = x`](./assets/f_x.png)\n\nFunction `f(x) = x * x`:\n\n![`f(x) = x * x`](./assets/f_x_x.png)\n\nFunction `f(x) = sin(x)`:\n\n![`f(x) = sin(x)`](./assets/f_sin_x.png)\n\nFunction `f(x) = tan(x)`:\n\n![`f(x) = tan(x)`](./assets/f_tan_x.png)\n\n## TODO\n\n - The ability to change functions dynamically. (This requires lexer, parser, ast and executor).\n - The ability to change the colors of both coords and function.\n - ...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalidodat%2Fgraph-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalidodat%2Fgraph-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalidodat%2Fgraph-c/lists"}