About 82,200 results
Open links in new tab
  1. python - Make 3D plot interactive in Jupyter Notebook - Stack …

    This shows an interactive 3D plot inside a notebook, which still works in nbviewer. The visjs code is borrowed from the example code on the 3D graph page A small notebook to illustrate this: …

  2. python - How to surface plot/3d plot from dataframe - Stack …

    Apr 13, 2016 · You can transform the DataFrame with numpy in a formulaic way to render it as a surface.. import matplotlib.pyplot as plt import numpy as np import pandas as pd def …

  3. python - Plotting implicit equations in 3d - Stack Overflow

    Apr 25, 2023 · If we are able to parametrize (this may be hard or impossible), with at most 2 parameters, the surface we want to plot then we can plot it with matplotlib.plot_trisurf method. …

  4. how to set "camera position" for 3d plots using python/matplotlib?

    Apr 25, 2023 · What would be handy would be to apply the Camera position to a new plot. So I plot, then move the plot around with the mouse changing the distance. Then try to replicate the …

  5. python - Creating a 3D plot from a 3D numpy array - Stack Overflow

    Sep 13, 2012 · Ok, so I feel like there should be an easy way to create a 3-dimensional scatter plot using matplotlib. I have a 3D numpy array (dset) with 0's where I don't want a point and …

  6. python - How to create a 3D animation - Stack Overflow

    Apr 25, 2023 · I want to make 3D animation with matplotlib, but I don't know how to. Here is my non-working code. from matplotlib import pyplot as plt import numpy as np from …

  7. python - matplotlib plotting multiple lines in 3D - Stack Overflow

    Feb 10, 2015 · I am trying to plot multiple lines in a 3D plot using matplotlib. I have 6 datasets with x and y values. What I've tried so far was, to give each point in the data sets a z-value. So all …

  8. What is the most efficient way to plot 3d array in Python?

    Aug 31, 2017 · The tricks are to eliminate all Python loops, including ones that would be hidden in libraries like itertools. import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import …

  9. python - Jupyter | How to rotate 3D graph - Stack Overflow

    Nov 15, 2017 · from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt %matplotlib notebook fig = plt.figure() ax = fig.add_subplot(111, projection='3d') # load some …

  10. python - Plotting 3D Polygons - Stack Overflow

    Plot a plane in 3D python plot. 158. surface plots in matplotlib. 2. How to plot 3D Polygons. 5.

Refresh