æºå ãã¼ã¿å¦çç¨ã«numpyãããããç¨ã«pyplotã3次å ãªã®ã§mpl_toolkits.mplot3dãã¤ã³ãã¼ããã¾ãã from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import numpy as np æç»ãããã¼ã¿ã®ä½æ 3次å ã§æç»ããã«ã¯ã¡ãã·ã¥(2次å ã®ç¶²ç®)ãä½æããããã«2次å ã®é åãç¨æããå¿ è¦ãããã¾ãã ã¾ãarangeã¡ã½ããã§x,yããããã1次å é åã§åå²ãã¾ãã x = np.arange(-3, 3, 0.25) y = np.arange(-3, 3, 0.25) 2次å ã¡ãã·ã¥ãä½æããã«ã¯meshgridã¡ã½ãããå©ç¨ãã¾ãããã®é¢æ°ã®æ»ãå¤ã¯X,Yã«å¯¾å¿ããè¡åã§ãXã¯è¡ã«xã®é åããYã¯åã«yã®é åãå ¥ãããã®ã«ãªã£ã¦ãã¾ãã X, Y =
{{#tags}}- {{label}}
{{/tags}}