Stream: helpdesk (published)

Topic: ✔ merge two plots as subplots of another plot?


view this post on Zulip Leandro Martínez (Jun 27 2024 at 18:55):

Is it possible to, having two plots, lets say:

using Plots
p1 = plot(rand(10))
p2 = plot(rand(10))

use p1 and p2 as subplots now of another plot:

p3 = plot(layout=(2,1))
plot!(p3, ???? ) # use p1 as first subplot, etc.

view this post on Zulip Leandro Martínez (Jun 27 2024 at 18:56):

Oh, found it: https://docs.juliaplots.org/latest/layouts/#Adding-Subplots-incrementally

view this post on Zulip Notification Bot (Jun 27 2024 at 18:58):

Leandro Martínez has marked this topic as resolved.


Last updated: Nov 22 2024 at 04:41 UTC