我想使用Breloff的Julia Plots從多維數組中創建一組子圖。這個plot函數需要一個可變參數輸入,並將它們變成子圖,但我似乎無法正確地提供我的數組,並且可能忽略了一些簡單的事情。例如以與陣列a: a = randn(5,5,8)
a = a.-mean(a)
a = a./maximum(extrema(a))
如果我要繪製一些5x5的片作爲熱圖的,我可以這樣做: plot(h
我有一個朱莉婭代碼: using DifferentialEquations
using Plots
using ParameterizedFunctions
plotly()
lorenz = @ode_def Lorenz begin
dx = σ*(y-x)
dy = ρ*x-y-x*z
dz = x*y-β*z
end σ = 10. β = 8./
我想在圖像上使用Plots.jl繪圖,例如簡單的正弦曲線。在這裏我的代碼: using Plots
using Images
gr()
h = 400
w = 600
a = Array(RGB{FixedPointNumbers.UFixed{UInt8,8}}, h, w)
img = Image(a)
p=plot(img)
x = collect(0:0.1:2π)
pl