All Questions
Tagged with plotting or data-visualization
17 questions
5
votes
2
answers
155
views
Tracking Containers in a Train Station
This is a time line for control over the events of some containers in a train station.
It gets all the data to build the time line by getting a JSON from a database via REST service. The app resets ...
3
votes
1
answer
90
views
Bar graph of Easter date distribution
Computing Easter for a given year is a classic computational problem.
It is also one of the few cases when code seems to just have to live with magic numbers.
Alternative to magic numbers: Decoding ...
2
votes
2
answers
134
views
Midpoint Circle Algorithm Implementation for Image in C++
This is a follow-up question for draw_circle Template Function Implementation for Image in C++, SIFT Keypoint Detection for Image in C++, difference_of_gaussian Template Function Implementation for ...
19
votes
1
answer
2k
views
Sorting algorithm visualizer in C++ and SDL2
I finished a sorting algorithm visualizer (for now only uses bubble sort) and this is the code.
I'd like some suggestions to improve the memory usage or time elapsed.
Built with Cmake and Ninja on ...
13
votes
1
answer
1k
views
Plotting polynomials roots
NOTE: See follow up to this question here
I created a simple python script to plot quadratic, cubic and quartic polynomials with integer coefficients between -4 and 4. It uses numpy to find the roots ...
12
votes
2
answers
484
views
Plotting polynomial roots with density
Follow up on Plotting polynomial roots
I rewrote the program to C++ and am now using GNU GSL scientific library and gnuplot and also used OpenMP for multithreading. The result is that it takes about ...
12
votes
2
answers
998
views
Speech Recognition Part 1: Generate Training Data
You've all heard of neural nets, no? One of the "hello world"s of neural nets is OCR with the MNIST dataset. My idea for speech recognition is to train the neural net with short labeled spectrograms ...
11
votes
1
answer
138
views
Python genetic sequence visualizer
I'm a beginner at python, and this is my first major project. Inspired by this reddit post, I wrote a program that accepts a DNA sequence (in a FASTA file format) and generates a graphical ...
10
votes
1
answer
261
views
Chart showing the Percentage of Answered CR questions
Every day Duga reports the number of unanswered questions and percentage of answered questions (after she calls the API endpoint /info) in The 2nd Monitor.
I ...
9
votes
1
answer
139
views
Frequency analysis for simultaneous dice rolls
My professor told me to optimize my perl code, but he wouldn't tell me what exactly - just make it simpler.
I changed some little things but nothing major. Am I missing something?
The task was:
...
8
votes
2
answers
5k
views
Print the frequency of characters as a horizontal histogram
Well, I've used some of the feedback from my last posting to improve how I wrote this program. Mainly using the void parameter in main, initializing my int array to zero without using a for-loop, and ...
6
votes
2
answers
263
views
Genetic Sequence Visualizer - Generating large images
Inspired by this reddit post, I have written a program that accepts a DNA sequence (in a FASTA file format) and generates a graphical representation.
HIV virus and Ebola virus
My program works like ...
6
votes
1
answer
180
views
Multithreaded HD Image Processing + Logistic reg. Classifier + Visualization
[I'm awaiting suggestions for improvement/optimization/more speed/general feedback ...]
This code takes a label and a folder path of subfolders as input that have certain labels ex: trees, cats with ...
6
votes
1
answer
158
views
draw_circle Template Function Implementation for Image in C++
This is a follow-up question for SIFT Keypoint Detection for Image in C++, difference_of_gaussian Template Function Implementation for Image in C++, conv2 Template Function Implementation for Image in ...
5
votes
1
answer
5k
views
Tkinter GUI for running HPLC pumps, real-time data visualization
What I made
I used Tkinter to write a GUI to run some HPLC pumps for my work. The application sends some messages to the pumps via serial connections, reads a response, then logs data to a csv file.
...
3
votes
1
answer
138
views
Three-dimensional DCT spatial frequency components illustration
I am attempting to make three-dimensional discrete cosine transformation spatial frequency components illustration. The 3D cubes is used to present the level of each coefficient. The more bright the ...
3
votes
2
answers
1k
views
K&R Exercise 1-13. Printing histogram of word lengths (horizontal variant)
I'm going through the K&R book (2nd edition, ANSI C ver.) and want to get the most from it. How does the following solution look to you? Note that, for the sake of exercise, I don't want to use ...