Daftar Login

Make a 4D Plot with Matplotlib Using Arbitrary Data

MEREK : scatter 4d

Make a 4D Plot with Matplotlib Using Arbitrary Data

scatter 4dYou can use the scatter function from mpl_toolkits.mplot3d to create a 3D scatter plot and then set the color of the points using the c argument and a color map. You can alsoSince your input data is scattered, you're going to want to use scatteredInterpolant. This allows for interpolation of non-uniformly-spaced input data. For your specific data,

IDR 10.000
IDR 100.000 Disc -90%
Kuantitas