Questions tagged as 'matplotlib'

1
answer

How to improve a bar graph whose values are very close in Python?

I'm drawing the bar graph using the following Python code: # -*- coding: utf-8 -*- import matplotlib.pyplot as plt import matplotlib.dates as dates from datetime import datetime, timedelta x = [] y = [] with open("Tem...
asked by 14.09.2017 / 15:52
1
answer

Problem with graph in Python

Through calculations and mathematical expressions, starting from the information of three data reported by the user (Distance from launch - ), Calculate the velocities that are involved (Velocity in X - Velocity in Y). So far so good! The...
asked by 20.11.2018 / 12:22
1
answer

Logarithmic Scale Chart with Python

Initially I created a chart of Values X time (time in Unix Time) with the following code: # -*- coding: utf-8 -*- import matplotlib.pyplot as plt import matplotlib.dates as dates from datetime import datetime, timedelta x = [] y = [] with op...
asked by 22.09.2017 / 17:14
1
answer

Subtitles Figure

I would like to know why a picture appears in the image in the 2dB column in the 10 ^ 0 line and how can I delete it without deleting the markers on the blue line, what do I want? The code to do the plot is this: #==========================...
asked by 15.12.2017 / 12:23
1
answer

Data overlapping the x-axis of the graph

I need to put a series of dates (timestamp) that are stored in a bd on the x-axis of a chart, the problem is that the dates overlap and an efficient analysis is impossible. Follow the code: # -*- coding: utf-8 -*- import MySQLdb as mdb import...
asked by 06.06.2017 / 21:48
2
answers

How to generate a graph of temperatures x time of data taken by an arduino?

Good afternoon, I'm trying to use a program in python to read seven temperature values through the serial port with the arduino, so far the program I've done collects the data, saves it to a text file, and when I interrupt the execution it saves...
asked by 02.11.2018 / 22:34
0
answers

BCG graph in Python. [closed]

Friends, is there any way to make a chart as below using Python / Matplotolib? Thank you in advance for your help. I notice that I did a lot of research on the subject, but I'm finding it difficult, especially in the insertion of 2 axes (x...
asked by 20.09.2018 / 19:27
2
answers

Python Build a multiple-column graph with matplotlib

I'm trying to make the chart with multiple parabolas. It's more of a help in mathematics.     
asked by 17.09.2018 / 13:44
1
answer

How to customize the x-axis of a graph with two axes and for text?

I would like to know how to change my x-axis of a graph with two axes y, since I want to assign the x-axis names of Brazilian states to the x axis. numpy_matrix = df.as_matrix() x = numpy_matrix[0:,0] y1 = numpy_matrix[1:,1] y2 = numpy_matrix[...
asked by 08.08.2018 / 17:57
0
answers

Plotting graphs with functions in 3D matplotlib

Good evening everyone! I need to plot an area chart where the height z varies according to any function and its interval depends on the starting point and the end point reported. I found the example below on the internet but I do not know how to...
asked by 10.09.2018 / 00:00