89 questions
Currently, I was going to use where in fill_between, but I couldn't because the x coordinates and the number of data are different.(x1,z1) = 15 points(x2,z2) = 3031 pointsBelow is the program.f1=np.lo...
import matplotlib.pylab as pltx=np.array ([8,8**2,8**3,8**4,8**5,8**6])y=np.array ([6.246, 26.0417, 97.0874, 340.909, 1166.67, 3870.97])plt.plot(x,y)plt.savefig(test.eps)The above code says test.png, ...
After installing Anaconda3(64bit) for windows and entering the following code in spyder, the graph appears on the console when you enter plt.plot(num, heoght), but plt.show() has no new window, no err...
I'd like to find and describe the expression of a straight line to find the intersection of a straight line and a sphere in 3D space from any two points. How should I program it?Straight lines in 2D c...
I have a data file every hour (for example, 2018010100, 2018010101, 20180102...) and I want to read it for about a month to create a graph, but it ends in the middle.I think it's probably because ther...
Currently, we use Axes 3D in Python environments as follows: from mpl_tools.mplot3d import Axes 3Dimport matplotlib.pyplot aspltHowever, this Axes 3D automatically determines the coordinate scale inte...
4 years agoI would like to make multiple balls and draw the overlapping parts in a way that is easy to understand and color-coded, but what should I do?I was able to make several balls, but I don't kn...
I have a question about matplotlib.I'd like to graph two different lengths of data list1, list2.list1=[1,2,3,4,5]list2 = [6,7,8]If there is, plt.figure()plt.plot(list1)plt.plot(list2)plt.show()I think...
In order to create a code that displays GPS data on a map with matplotlib, I installed basemap, but even if I tried various methods, Traceback (most recent call last):File <stdin>, line 1, in &l...
I would like to change the color of a specific scale on the y-axis in matplotlib.I'd like to change the color of values 2, 3, and 8 on the y-axis to blue.import matplotlib.pyplot as pltimport matplotl...
« | - 3 - | » |
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
916 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.