This question shows research effort; it is useful and clear
3
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想使用 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π)
plot!(x,sin(x))
png("Test")