{"id":32153256,"url":"https://github.com/modiasim/modiaplot_glmakie.jl","last_synced_at":"2026-02-18T09:38:17.450Z","repository":{"id":61798787,"uuid":"374663695","full_name":"ModiaSim/ModiaPlot_GLMakie.jl","owner":"ModiaSim","description":"Convenient line plots of ModiaResults with GLMakie","archived":false,"fork":false,"pushed_at":"2022-02-03T13:52:23.000Z","size":216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-21T01:43:03.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/ModiaSim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-07T12:48:49.000Z","updated_at":"2021-11-23T14:30:58.000Z","dependencies_parsed_at":"2022-10-21T11:15:31.849Z","dependency_job_id":null,"html_url":"https://github.com/ModiaSim/ModiaPlot_GLMakie.jl","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ModiaSim/ModiaPlot_GLMakie.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaPlot_GLMakie.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaPlot_GLMakie.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaPlot_GLMakie.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaPlot_GLMakie.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModiaSim","download_url":"https://codeload.github.com/ModiaSim/ModiaPlot_GLMakie.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModiaSim%2FModiaPlot_GLMakie.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280248781,"owners_count":26297986,"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-21T02:00:06.614Z","response_time":58,"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":[],"created_at":"2025-10-21T11:16:26.116Z","updated_at":"2025-10-21T11:16:27.423Z","avatar_url":"https://github.com/ModiaSim.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ModiaPlot_GLMakie\n\n[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://modiasim.github.io/ModiaResult.jl/stable/index.html)\n[![The MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/ModiaSim/ModiaResult.jl/blob/master/LICENSE.md)\n\nModiaPlot_GLMakie is part of [ModiaSim](https://modiasim.github.io/docs/)\nand provides convenient line plots of simulation results with package\n[GLMakie](https://github.com/JuliaPlots/GLMakie.jl).\n\nModiaPlot_GLMakie is typically not directly used, but is activated via package\n[ModiaResult](https://github.com/ModiaSim/ModiaResult.jl).\nFor details of the installation and the usage, \nsee the [ModiaResult documentation](https://modiasim.github.io/ModiaResult.jl/stable/index.html).\n\n\n## Example\n\nOnce a result data structure `result` with signals `sigA(t), sigB(t), sigC(t), r[3](t)`:\n\n```julia\n # │ name  unit    nTime  signalType  valueSize  eltype          \n───┼─────────────────────────────────────────────────────────────\n 1 │ time          2      Independent ()         Float64\n 2 │ sigA  m       88     Continuous  ()         Float64\n 3 │ sigB  m s^-1  151    Continuous  ()         Float64\n 4 │ sigC  m N     16     Clocked     ()         Float64\n 5 │ r     m       72     Continuous  (3,)       Vector{Float64}\n ```\n \nis available and `GLMakie` selected for plotting, \n\n```julia\nimport ModiaResult\n\n# Define plotting software globally\nModiaResult.usePlotPackage(\"GLMakie\") # or ENV[\"MODIA_PLOT\"] = \"GLMakie\"\n                \n# Execute \"using ModiaPlot_GLMakie\"                              \nModiaResult.@usingModiaPlot\n```\n\nthen the following command\n\n```julia\nplot(result, [(\"sigA\", \"sigB\", \"sigC\"), \"r[2:3]\"])\n```\n\ngenerates the following image (layout and legends are automatically constructed):\n\n![SegmentedSignalsPlot](docs/resources/images/segmented-signals-plot.png)\n\n\n## Main developer\n\n[Martin Otter](https://rmc.dlr.de/sr/en/staff/martin.otter/),\n[DLR - Institute of System Dynamics and Control](https://www.dlr.de/sr/en)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodiasim%2Fmodiaplot_glmakie.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodiasim%2Fmodiaplot_glmakie.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodiasim%2Fmodiaplot_glmakie.jl/lists"}