All Questions
Tagged with matplotlib python-3.x
33 questions
3
votes
0
answers
95
views
Decorator implementation around xarray.open_dataset
If you would like to download some grib data for yourself, the script below will pull girb data from the google api over a date range at an hourly interval.
Extract some hrrr grib2 data
...
2
votes
0
answers
826
views
Python fractal tree generators
I wrote the scripts several days ago, they do exactly what I intended, but the performance is not very good, I am still stuck on for loops and don't know how to vectorize things, I wrote both scripts ...
6
votes
0
answers
145
views
A Python script that creates n-flakes
I have written a simple Python script that generates n-flakes using matplotlib.
Wikipedia article on N-flake.
I wrote two functions, one function generates pentaflake, the other generates hexaflake, I ...
1
vote
0
answers
332
views
A collection of Python functions that fill a given region with rectangles
These are what I was working on in the last few days, I wrote a bunch of functions that fill a given region with rectangles of different colors.
The functions can:
Randomly split a region into sub ...
4
votes
1
answer
168
views
Modeling global warming with a sinusoidal fit in Python
I would like to model global warming from temperature records recorded daily from June 1920 to October 2019 in Montélimar on Python. To do this, I would first like to model these seasonal variations ...
5
votes
1
answer
3k
views
Student report card management Python program
The program is designed to take data from a MySQL database, using mysql-connector-python, and print it as a table in Python using the texttable module. The program also plots charts based on the data ...
3
votes
1
answer
758
views
Implementing histogram in python
I was trying to implement my own version of matplotlib's hist function and I came up with this:
...
2
votes
2
answers
120
views
Downloading COVID data and uploading graphs
So this is a project I have been working on for the last few weeks. Just started learning Python. Started out with bash scripting and got the itch to learn more. Anyway code fetches covid-19 data from ...
2
votes
1
answer
71
views
Hardware driven data processing and ploting in need of better control flow
This is code for a measurement setup that receives a steady stream of UDP data, finds the trigger in one channel and operates on the data in the other channel to enhance the signal and remove noise, ...
3
votes
1
answer
1k
views
Plotting the integer values in text format in matplotlib piechart
I have done a clustering algorithm and represented the results in a pie chart as shown below.
...
2
votes
1
answer
941
views
Forex Simulator in Python using pandas and matplotlib
Description:
This would make a first part of a currency exchange simulator The first phase includes downloading currency historical data from histdata.com api, plotting given period and given time ...
12
votes
1
answer
4k
views
Predator-prey simulation
I made a random-walk predator-prey simulation that focuses on individual animals instead of the (maybe) more common array-based approach. I'd like to hear your opinion about this: how could the ...
3
votes
0
answers
2k
views
Converts audio files to fixed size chunks and the chunks to spectrogram images
This code takes in input as audio files (.wav or .WAV) and divides them into fixed-size (chunkSize in seconds) samples. Then these chunks are converted to spectrogram images after applying PCEN (Per-...
5
votes
0
answers
140
views
graphtimer v2 - Utility to plot timings
GitHub repo (MIT)
Clone the repo and replace the contents of example.py with the one at the bottom and you'll have everything setup.
Explanation of the code
A ...
2
votes
1
answer
1k
views
Generating scatter plot from a CSV file
Assume you have the following data in the form of a csv-file. The content looks something like this:
...