Skip to content

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

@ay111

Description

@ay111

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions