Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotting multiple figures with subplots command only display the last figure in PythonPlot.jl #32

Open
ay111 opened this issue Sep 30, 2023 · 0 comments

Comments

@ay111
Copy link

ay111 commented Sep 30, 2023

Plotting multiple figures with subplots command only display the last figure in both PythonPlot.jl and PyPlot.jl. Kindly run the program below.

using PythonPlot # Pyplot
pygui(true)

x = LinRange(0, 2*pi, 100)
f(x) = @. sin(x)
g(x) = @. cos(x)
h(x) = @. tan(x)

a1=subplots(3)
a1[1] = plot(x,f(x))
a1[2] = plot(x,g(x))
a1[3] = plot(x,h(x))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant