Hello Julia Users, 

PyPlot has some modules related to color plots. However the documentation 
in Julia don't address the following application (in Python): 

import numpy as npimport matplotlib.pyplot as plt

x = np.linspace(0, 20, 100)
y = np.sin(x)
z = x + 20 * y

scaled_z = (z - z.min()) / z.ptp()
colors = plt.cm.coolwarm(scaled_z)

plt.scatter(x, y, marker='+', edgecolors=colors, s=150, linewidths=4)
plt.show()




Does anyone know how can I define the "colors" as above and plot in Julia 
the same example? 

Any information is really helpful. 

Thank you very much.

Reply via email to