print("Hello World, from R")
[1] "Hello World, from R"
x <- seq(-10,10, by = 0.1) y <- x ^ 3 plot(x, y, type = "l")
print("Hello World, from Python")
Hello World, from Python
import matplotlib.pyplot as plt import numpy as np xpoints = np.arange(-10, 10, 0.1) ypoints = np.power(xpoints, 3) plt.plot(xpoints, ypoints) plt.show()
display "Hello World, from Stata"
Hello World, from Stata
graph twoway function x^3, range(-10 10)
println("Hello World, from Julia")
Hello World, from Julia
using Plots x = range(-10, 10, length=1000) y = x .^ 3 plot(x, y)