{"id":13712607,"url":"https://github.com/hriebl/ggnuplot","last_synced_at":"2025-10-22T03:14:08.444Z","repository":{"id":56936338,"uuid":"239043788","full_name":"hriebl/ggnuplot","owner":"hriebl","description":"Make your ggplots look like gnuplots","archived":false,"fork":false,"pushed_at":"2020-06-01T14:49:06.000Z","size":2566,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-21T17:38:46.398Z","etag":null,"topics":["data-visualization","ggplot2","ggplot2-theme","r","visualization"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hriebl.png","metadata":{"files":{"readme":"README.Rmd","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}},"created_at":"2020-02-08T00:01:24.000Z","updated_at":"2025-08-11T08:49:01.000Z","dependencies_parsed_at":"2022-08-21T01:10:10.788Z","dependency_job_id":null,"html_url":"https://github.com/hriebl/ggnuplot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hriebl/ggnuplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hriebl%2Fggnuplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hriebl%2Fggnuplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hriebl%2Fggnuplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hriebl%2Fggnuplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hriebl","download_url":"https://codeload.github.com/hriebl/ggnuplot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hriebl%2Fggnuplot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280371857,"owners_count":26319519,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"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":["data-visualization","ggplot2","ggplot2-theme","r","visualization"],"created_at":"2024-08-02T23:01:20.295Z","updated_at":"2025-10-22T03:14:08.429Z","avatar_url":"https://github.com/hriebl.png","language":"R","readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# ggnuplot\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nggnuplot is a [ggplot2](https://ggplot2.tidyverse.org/) theme that makes your\nggplots look like [gnuplots](http://www.gnuplot.info/). This may be helpful if\nyou use both ggplot2 and gnuplot in one project.\n\n## Installation\n\nYou can install the development version of ggnuplot from\n[GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"hriebl/ggnuplot\")\n```\n\n## Examples\n\nggnuplot features inward ticks and secondary axes. It also comes with gnuplot's\ndefault color palette. Here is what it looks like:\n\n```{r example1, dpi = 300, fig.width = 10}\nlibrary(ggplot2)\nlibrary(ggnuplot)\n\nggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +\n  geom_point() +\n  scale_color_gnuplot() +\n  scale_x_gnuplot() +\n  scale_y_gnuplot() +\n  theme_gnuplot()\n```\n\nAnd one example with facets:\n\n```{r example2, dpi = 300, fig.width = 10, message = FALSE, warning = FALSE}\nset.seed(1337)\n\ndf \u003c- data.frame(\n  y = rnorm(2000),\n  x = rep(1:500, times = 4),\n  cat1 = rep(c(\"Foo\", \"Bar\", \"Foo\", \"Bar\"), each = 500),\n  cat2 = rep(c(\"Wibble\", \"Wobble\"), each = 1000)\n)\n\nggplot(df, aes(x, y)) +\n  geom_line(color = gnucolors[1]) +\n  geom_smooth(color = gnucolors[1], size = 1.5, se = FALSE) +\n  facet_grid(vars(cat1), vars(cat2)) +\n  xlab(\"MCMC Iterations\") +\n  ylab(NULL) +\n  scale_x_gnuplot(expand = c(0, 0)) +\n  scale_y_gnuplot(limits = c(-3.5, 3.5)) +\n  theme_gnuplot()\n```\n\nI wish my samplers worked that well!\n","funding_links":[],"categories":["Themes and aesthetics"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhriebl%2Fggnuplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhriebl%2Fggnuplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhriebl%2Fggnuplot/lists"}