matplotlib tag

89 questions


3 answers
130 views
0
Understanding How to Obtain Coordinates from Graphs

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...


1 answers
85 views
0
Cannot save plot results created in matplotlib to a file in eps format

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, ...

2 years ago

1 answers
82 views
0
No response to put.show()

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...

2 years ago

1 answers
106 views
0
I want to draw a straight line in three-dimensional space to find the intersection with the sphere.

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...


1 answers
55 views
0
I want to create a graph with large amounts of data, but I'm forced to quit.

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...

2 years ago

1 answers
118 views
0
I want the Axes 3D coordinate axes to be equally spaced.

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...

2 years ago

1 answers
91 views
0
I want to be able to judge the overlap of balls by color. [Duplicate]

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...

2 years ago

1 answers
62 views
0
Specifying the Graph Start Point in matplotlib

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...

2 years ago

2 answers
111 views
0
basemap installation is not successful

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...

2 years ago

1 answers
61 views
0
change the color of a specific scale on the y-axis in matplotlib

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...

2 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.