How to generate the lineared color plot (cplot) with z values in colorbar
问题 In MATLAB™ one can use cplot.m which can generate colored plot basically looks like 2d plot with 3rd axis (z-axis) value as colorbar. Is there any tool/plotting technique I can use to generate a similar plot in Python or IDL Programming Language?. The previous question on stack overflow dealing with different problem as given in a link. 回答1: IDL v8 has an easy to use keyword for the PLOT function called VERT_COLORS: ; generate some sample data x = cos(dindgen(100)/20) y = sin(dindgen(100)/20)