Thank you very much Tom!
On Tuesday, March 8, 2016 at 9:33:39 AM UTC-6, Tom Breloff wrote: > > You can almost copy that verbatim with PyPlot.jl, or here's the same in > Plots: > > [image: Inline image 1] > > > On Tue, Mar 8, 2016 at 9:51 AM, <[email protected] <javascript:>> wrote: > >> 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. >> > >
