我在Julia中创建了一个UnitRange并试图创建一个关于x和x ^ 2的x图。我编写了以下代码。
x = [ - 10:10]p1 = plot(x,x)p2 = plot(x,x。^ 2)我正在……
快速修复:将x。^ 2更改为x [1]。^ 2