I have a scatter plot generated using Plots.jl in Julia via Plots.scatter(x, y, marker_z = z). This results in a scatter plot of x and y, where points are colored according to the corresponding values in z. There is a vertical color bar to the right of the scatter plot that indicates what colors correspond to what values of z.
I would like to modify the vertical color bar but was not able to find any details on how best to do this. The specific tasks I am interested in are:
- I would like to add a label for the color bar.
- I would like to modify the ticks on the color bar.
Use
colorbar_ticksandcolorbar_title