# Plotting ODEProblem solutions with Makie

**URL:** <https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096>\
**Category:** Visualization\
**Tags:** makie, modelingtoolkit\
**Created:** [March 27, 2021, 9:29pm UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096 "2021-03-27T21:29:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![airpmb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/airpmb/32/7826_2.png) [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Post date:** [March 27, 2021, 9:29pm UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/1 "2021-03-27T21:29:49Z")

</div>

Whatever (plot recipes?) allows for the solution output from solving an `ODEProblem` in ModelingToolkit.jl (or maybe just OrdinaryDiffEq.jl?) to be just plotted using Plots.jl is wonderful and magical. I love how it’s possible to just do `sol = solve(problem); plot(sol)` as well as plotting individual states by name (`plot(sol, vars=[(x, y), (w, z)])` etc).

However overall I’m finding Makie to be my favorite tool for plotting/visualization. Is there anything out there yet that provides similar power and expressivity but using Makie instead of Plots?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [March 28, 2021, 5:01pm UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/2 "2021-03-28T17:01:20Z")

</div>

> [@airpmb](#):
>
> However overall I’m finding Makie to be my favorite tool for plotting/visualization. Is there anything out there yet that provides similar power and expressivity but using Makie instead of Plots?

I want to move everything to Makie. Please help us. The recipes are in here:

> <https://github.com/SciML/SciMLBase.jl/blob/master/src/solutions/solution_interface.jl#L151>

I think @asinghvi17 had a working version calling the recipe from Makie, but I forget how he did it. The main issue is that type recipes in Makie don’t allow custom keyword arguments.

> <https://github.com/MakieOrg/Makie.jl/issues/837>
>
> For the DiffEq type recipes, we need to have custom keyword arguments from users… and to set a few other plotting attributes (labels). Is that able to be done?

That might be the last blocker.

---

<div class="post-metadata">

**Author:** ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Post date:** [March 31, 2021, 8:19am UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/3 "2021-03-31T08:19:27Z")

</div>

I am interested in this as well. Any progress has been made?

---

<div class="post-metadata">

**Author:** ![EvoArt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/evoart/32/25357_2.png) [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Post date:** [April 2, 2021, 11:46pm UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/4 "2021-04-02T23:46:38Z")

</div>

> [@ChrisRackauckas](#):
>
> want to move everything to Makie. Please help us. The recipes are in here

This is pretty big!

I’ve been wondering which plotting package(s) to invest time in learning. If SciML is backing Makie, then it seems like a no-brainer.

---

<div class="post-metadata">

**Author:** ![kool7d](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kool7d/32/3608_2.png) [@kool7d](https://discourse.julialang.org/u/kool7d)\
**Post date:** [April 4, 2021, 8:18am UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/5 "2021-04-04T08:18:44Z")

</div>

This looks interesting. I have been working on a few things that would benefit immensely from incorporating SciML. If anyone wants to chat about moving this stuff to Makie I think that could be beneficial.

---

<div class="post-metadata">

**Author:** ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Post date:** [February 21, 2024, 7:48pm UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/6 "2024-02-21T19:48:34Z")

</div>

is it closed as an “issue”?

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [February 21, 2024, 8:39pm UTC](https://discourse.julialang.org/t/plotting-odeproblem-solutions-with-makie/58096/7 "2024-02-21T20:39:26Z")

</div>

We have basic support but it’s a bit barebones at the moment. Work is ongoing on the Makie end to make this more possible, though!
