# plotting

Published articles for plotting.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Moon - Art

DevFeed: [Moon - Art](<https://devfeed.tech/articles/moon-art-37214.md>)

Original publisher: [Read original article](<https://muffinman.io/art/moon-white/>)

Author: Stanko

Published: 2025-10-23T00:00:00Z

Content type: article

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [plotting](<https://devfeed.tech/topics/plotting.md>), [Code](<https://devfeed.tech/topics/code.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [art](<https://devfeed.tech/tags/art.md>), [code](<https://devfeed.tech/tags/code.md>), [github](<https://devfeed.tech/tags/github.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [project](<https://devfeed.tech/tags/project.md>)

### AI overview

The author describes reviving and publishing the Moon plotting project after nearly two years. A technical pen added detail to the image, and the project's code is available on GitHub so others can generate their own version.

### Source excerpt

After almost two years (life and other projects happened), I finally plotted something new. I resurrected the Moon project, cleaned it up and published it online. Using a technical pen allowed me to add more detail to the image. It reminded me why I love pen plotting so much, and I hope to plot more in the near future. The code is available on my GitHub, and you can generate your own Moon here. Created: October 2025Size: 30x30cmPaper: Fabriano Black Black 300gsmPens: rOtring variant technical pen, Aristo white ink

## How to Plot an ASCII Bar Chart with SQL

DevFeed: [How to Plot an ASCII Bar Chart with SQL](<https://devfeed.tech/articles/how-to-plot-an-ascii-bar-chart-with-sql-28944.md>)

Original publisher: [Read original article](<https://blog.jooq.org/how-to-plot-an-ascii-bar-chart-with-sql/>)

Author: lukaseder

Published: 2022-09-01T08:25:29Z

Content type: tutorial

Language: en

Sources: [jOOQ](<https://devfeed.tech/sources/jooq.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [ascii-charts](<https://devfeed.tech/tags/ascii-charts.md>), [charts](<https://devfeed.tech/tags/charts.md>), [coding](<https://devfeed.tech/tags/coding.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [database](<https://devfeed.tech/tags/database.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>)

### AI overview

A tutorial showing how to use a PostgreSQL SQL query to render ASCII bar charts directly in a SQL editor. It explains the query's data, configuration, and chart-generation sections, using revenue data from the Sakila database and discussing date handling and gap filling.

### Source excerpt

No need for expensive Tableau subscriptions. Ditch Microsoft Excel. Just use native PostgreSQL to quickly visualise your data! Here's an idea I had for a while. As you may know, jOOQ can produce fancy charts from your jOOQ results. But that requires you use jOOQ, and you may not be using jOOQ, because you're not ... Continue reading How to Plot an ASCII Bar Chart with SQL ->

## Libraries I use for generative art

DevFeed: [Libraries I use for generative art](<https://devfeed.tech/articles/libraries-i-use-for-generative-art-37303.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/js-libraries-for-generative-art/>)

Author: Stanko

Published: 2022-02-28T00:00:00Z

Content type: article

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [generative art](<https://devfeed.tech/topics/generative-art.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Randomizer](<https://devfeed.tech/topics/randomizer.md>), [plotting](<https://devfeed.tech/topics/plotting.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>)

Tags: [generative-art](<https://devfeed.tech/tags/generative-art.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [programming](<https://devfeed.tech/tags/programming.md>), [random](<https://devfeed.tech/tags/random.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

A curated list of JavaScript libraries used to create generative art, organized into categories including randomness and noise, geometry, vector fields, 3D, spatial data structures, Axidraw, and other tools. The author selected the libraries based partly on performance and describes their practical uses.

### Source excerpt

This is going to be a very straight forward post. Just a list of JavaScript libraries I use in creating my generative art. And I really mean I use (and abuse) them. All of them are used in multiple of my drawings. I'll include couple of photos under the respective libraries. I finally settled with these libraries after trying several other alternatives for each. Performance was one of the key factors (especially as generative work can get brute-forcy sometimes). Huge thank you to all people who created and shared these wonderful tools!Also, as a rule of thumb, when you find a good library, you might want to check author's GitHub profile. In the most cases you are going to find more useful stuff there. That is exactly how I found some of these. Categories: Randomness and noise Geometry Vector fields 3D vector line engines Spatial data structures Axidraw Other Randomness and noise # seedrandom # In generative programming it is super important to be able to repeat the same output. As randomness is heavily involved, we need a way to repeat random values. That's where seedrandom steps in as an excellent seeded random number generator. random-words # For random number generator seeds, I like to use real words instead of randomly generated strings. This library is a simple dictionary of couple of thousands english words. simplex-noise # Fast implementation of Open Simplex noise. poisson-disk-sampling # When you need a random collections of points in space, Poisson sampling is a great tool. It gives us much more natural distribution than just using random values. Geometry # js-angusj-clipper # This library is a lifesaver. For all your polygon clipping and offseting needs. And it is super fast as it is implemented in WebAssembly. voronoi # Sometimes I think I use Voronoi diagrams too much in my work. Anyway, this library efficiently computes Voronoi diagrams. robust-point-in-polygon # For figuring out if the point is inside of the polygon. I tried a couple of other libraries

## Visualization in Go - Plotting Stock Information

DevFeed: [Visualization in Go - Plotting Stock Information](<https://devfeed.tech/articles/visualization-in-go-plotting-stock-information-22179.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2022/01/visualizations-in-go.html>)

Published: 2022-01-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [CSV](<https://devfeed.tech/topics/csv.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [blog](<https://devfeed.tech/tags/blog.md>), [build](<https://devfeed.tech/tags/build.md>), [data](<https://devfeed.tech/tags/data.md>), [development](<https://devfeed.tech/tags/development.md>), [format](<https://devfeed.tech/tags/format.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [html](<https://devfeed.tech/tags/html.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [programming](<https://devfeed.tech/tags/programming.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

A tutorial on visualizing historical stock data in Go. It surveys charting options, chooses Plotly for interactive features, parses CSV data downloaded from Yahoo! Finance, and begins building the URL used to fetch the data.

### Source excerpt

Introduction You'd like to visualize some stock data using Go, but after looking at the Go ecosystem you see very little in charting. You find gonum, which has some plotting capabilities, but it generates static charts. It's 2022, and you'd like to have interactive features such as zooming, panning, and more. You turn to the HTML landscape, and see many more options and decide to take this path. After a short survey, you decide to use plotly.

## Plotting patterns in music with a fantasy record player

DevFeed: [Plotting patterns in music with a fantasy record player](<https://devfeed.tech/articles/plotting-patterns-in-music-with-a-fantasy-record-player-21656.md>)

Original publisher: [Read original article](<https://www.windytan.com/2020/12/plotting-patterns-in-music-with-fantasy.html>)

Author: Oona Räisänen (noreply@blogger.com)

Published: 2020-12-08T21:42:00Z

Content type: article

Language: en

Sources: [Oona Räisänen](<https://devfeed.tech/sources/oona-raisanen.md>)

Topics: [Script](<https://devfeed.tech/topics/script.md>), [e-ink](<https://devfeed.tech/topics/e-ink.md>), [3D](<https://devfeed.tech/topics/3d.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [art](<https://devfeed.tech/tags/art.md>), [audio-media](<https://devfeed.tech/tags/audio-media.md>), [blender](<https://devfeed.tech/tags/blender.md>), [computer](<https://devfeed.tech/tags/computer.md>), [e-ink](<https://devfeed.tech/tags/e-ink.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [music](<https://devfeed.tech/tags/music.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [physics](<https://devfeed.tech/tags/physics.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [script](<https://devfeed.tech/tags/script.md>), [shower-thoughts](<https://devfeed.tech/tags/shower-thoughts.md>), [signal](<https://devfeed.tech/tags/signal.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

The article explores how a vinyl record's wavy surface pattern can reflect the tempo and beat structure of its music. It describes a script that plots FLAC amplitude into a tempo-based grid and discusses clearer patterns in quantized electronic, pop, and rock music, along with a 3D-rendered fantasy record-player experiment.

### Source excerpt

Back in April I bought a vinyl record that had a weird wavy pattern near the outer edge. I though I may have broken it somehow but couldn't even test this because I don't own a record player. *) But when I took a closer look at the pattern it seemed to somehow follow changes in the music. That doesn't look like damage at all. When I played the CD version it became clear: this was an artifact of the tempo of the electronic track (100 bpm) being a multiple of the rotational speed (33 1/3 rpm), and these were probably drum hits! My tweet sparked some interesting discussion and I've been pondering this ever since. Could we plot any song as a loop or grid based on its own tempo and see interesting patterns? (*) I know, it's a little odd. But I have a few unplayed vinyl records waiting for the day that I finally have the proper equipment. By the way, the song was Black Pink by RinneRadio from their wonderful album staRRk. I wrote a little script to do just this: to plot the amplitude of the FLAC into a grid with an adjustable width. The result looks very similar to the pattern on the vinyl surface! Note that this image is a "straightened out" version of the disc surface and it's showing three of those wavy patterns. The top edge corresponds to the outer edge of the vinyl. Later I wrote a little more ambitious plotter that shall be explained soon. Computer-conducted music gives best patterns After plotting several different songs against their own tempo like this it seemed that in addition to electronic music a lot of pop and rock has this type of a pattern, too. The most striking and clear patterns can be seen in music that makes use of drum samples in a quantized time base (aka. a drum machine): the same kick drum sample, for example, repeats four times in each bar, perfectly timed by a computer so that they align in phase. Somewhat similar patterns can be seen in live music that is played to a "click track": each band member hears a common computer-generated time signal

## AxiDraw Lego camera mount

DevFeed: [AxiDraw Lego camera mount](<https://devfeed.tech/articles/axidraw-lego-camera-mount-37240.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/axidraw-lego-camera-mount/>)

Author: Stanko

Published: 2020-10-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [Raspberry Pi](<https://devfeed.tech/topics/raspberry-pi.md>), [mount](<https://devfeed.tech/topics/mount.md>)

Tags: [camera](<https://devfeed.tech/tags/camera.md>), [lego](<https://devfeed.tech/tags/lego.md>), [mount](<https://devfeed.tech/tags/mount.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>)

### AI overview

A project article describing a LEGO mount for a Raspberry Pi camera attached to an AxiDraw plotter. The mount provides adjustable height and rotation using a blue LEGO component connected to a glued rail.

### Source excerpt

I already built a mount for my Raspberry Pi camera, but it was 3d printed. Meaning that it has one fixed position. I used it a couple of times, but I wasn't super satisfied. Then I stumbled on these images, and thought it was a great idea to use Lego to build a new, more versatile mount. A friend of mine had a bunch of spare Legos laying around, so he gave me two bags full of Legos to play around. I wasn't sure where to start, especially because I wanted to make both height and rotation adjustable. After fiddling with the blocks for about an hour, I came up with this: It is quite simple, but the secret is in the blue part. Because it can be connected with the black "rail" I glued on to the plotterI used double sided mounting tape, as it is stable enough and easy to remove if I want to This allows me to change the height of the mount, by inserting the blue part into the different hole. And to make things even better, the blue part behaves as an axis, and the whole mount can be rotated around it. Once mounted, it looks like this: And finally I shot a short test video plotting my logo: If you want to see pen plots of my generative art, check my Instagram account.

## Pillars - Art

DevFeed: [Pillars - Art](<https://devfeed.tech/articles/pillars-art-37218.md>)

Original publisher: [Read original article](<https://muffinman.io/art/pillars/>)

Author: Stanko

Published: 2020-04-18T00:00:00Z

Content type: article

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [plotting](<https://devfeed.tech/topics/plotting.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [image](<https://devfeed.tech/tags/image.md>), [plotting](<https://devfeed.tech/tags/plotting.md>)

### AI overview

Pillars is an art composition created through an algorithmic plotting process involving about 27,000 circles, 82 meters of lines, and six hours of plotting. The artist also describes an early attempt to simulate tearing.

### Source excerpt

On the second to last image, you can see one of my first attempts to simulate tearing. If I ever return to this algorithm, I'll make a new composition wider. Created: April 2020Size: 42x30cmPaper: KunstdruckPens: Pigma Micron

## Silent Duels--Constructing the Solution part 1

DevFeed: [Silent Duels--Constructing the Solution part 1](<https://devfeed.tech/articles/silent-duels-constructing-the-solution-part-1-40430.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2019/06/30/silent-duels-constructing-the-solution-part-1/>)

Published: 2019-06-30T07:00:14Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Code](<https://devfeed.tech/topics/code.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [code](<https://devfeed.tech/tags/code.md>), [code-quality](<https://devfeed.tech/tags/code-quality.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [plotting](<https://devfeed.tech/tags/plotting.md>)

### AI overview

This tutorial begins implementing the algorithm for constructing an optimal strategy in Restrepo's silent duel paper. It starts with a simplified symmetric game as a test case and plans a later post for the generic solution and code-quality details.

### Source excerpt

Previous posts in this series: Silent Duels and an Old Paper of Restrepo Silent Duels--Parsing the Construction Last time we waded into Restrepo's silent duel paper. You can see the original and my re-typeset version on Github along with all of the code in this series. We digested Section 2 and a bit further, plotting some simplified examples of the symmetric version of the game. I admit, this paper is not an easy read.

## From gnuplot to Matplotlib & Pandas

DevFeed: [From gnuplot to Matplotlib & Pandas](<https://devfeed.tech/articles/from-gnuplot-to-matplotlib-pandas-36399.md>)

Original publisher: [Read original article](<https://berthub.eu/articles/posts/from-gnuplot-to-matplotlib-pandas/>)

Published: 2019-04-01T08:59:00Z

Content type: tutorial

Language: en

Sources: [Bert Hubert's writings](<https://devfeed.tech/sources/bert-hubert-s-writings.md>)

Topics: [pandas](<https://devfeed.tech/topics/pandas.md>), [plotting](<https://devfeed.tech/topics/plotting.md>), [data](<https://devfeed.tech/topics/data.md>), [CSV](<https://devfeed.tech/topics/csv.md>), [Shell](<https://devfeed.tech/topics/shell.md>)

Tags: [csv](<https://devfeed.tech/tags/csv.md>), [data](<https://devfeed.tech/tags/data.md>), [pandas](<https://devfeed.tech/tags/pandas.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [shell](<https://devfeed.tech/tags/shell.md>)

### AI overview

This tutorial introduces Matplotlib and Pandas as an alternative to gnuplot for analyzing and plotting system data. It explains how Pandas and Matplotlib keep labeled data and graphing in one programming environment, using vmstat output and CSV files as examples.

### Source excerpt

I've been using gnuplot since.. like forever. It is one of my best friends in plotting data and discovering what is going on. But for all its greatness, you do tend to run into a wall - once you step outside the things gnuplot is good at, suddenly large heaps of awk, sort, unique and odd shell scripts are required to get to the next level. This is no criticism of gnuplot - it is great for what it is for.

## Undocumented plot marker types

DevFeed: [Undocumented plot marker types](<https://devfeed.tech/articles/undocumented-plot-marker-types-22328.md>)

Original publisher: [Read original article](<https://undocumentedmatlab.com/articles/undocumented-plot-marker-types>)

Author: Yair Altman

Published: 2019-03-13T11:05:14Z

Content type: tutorial

Language: en

Sources: [Undocumented Matlab](<https://devfeed.tech/sources/undocumented-matlab.md>)

Topics: [MATLAB](<https://devfeed.tech/topics/matlab.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [GUI](<https://devfeed.tech/topics/gui.md>)

Tags: [graphics](<https://devfeed.tech/tags/graphics.md>), [handle-graphics](<https://devfeed.tech/tags/handle-graphics.md>), [handle-graphics-hidden-property-low-risk-of-breaking-in-future-versions-stock-matlab-function-undocu](<https://devfeed.tech/tags/handle-graphics-hidden-property-low-risk-of-breaking-in-future-versions-stock-matlab-function-undocu.md>), [hg2](<https://devfeed.tech/tags/hg2.md>), [hidden-property](<https://devfeed.tech/tags/hidden-property.md>), [internal-component](<https://devfeed.tech/tags/internal-component.md>), [low-risk-of-breaking-in-future-versions](<https://devfeed.tech/tags/low-risk-of-breaking-in-future-versions.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [properties](<https://devfeed.tech/tags/properties.md>), [pure-matlab](<https://devfeed.tech/tags/pure-matlab.md>), [stock-matlab-function](<https://devfeed.tech/tags/stock-matlab-function.md>), [undocumented-feature](<https://devfeed.tech/tags/undocumented-feature.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

This article explains how MATLAB's hidden MarkerHandle property exposes undocumented plot marker styles, including the hbar and vbar styles. It also describes related marker customization capabilities such as transparency and color gradients.

### Source excerpt

Undocumented plot marker styles can easily be accesses using a hidden plot-line property. The post Undocumented plot marker types appeared first on Undocumented Matlab. Related posts: Types of undocumented Matlab aspects This article lists the different types of undocumented/unsupported/hidden aspects in Matlab... Undocumented scatter plot behavior The scatter plot function has an undocumented behavior when plotting more than 100 points: it returns a single unified patch object handle, rather than a patch handle for each specific point as it returns with 100 or less points.... Plot markers transparency and color gradient Matlab plot-line markers can be customized to have transparency and color gradients. ... Undocumented scatter plot jitter Matlab's scatter plot can automatically jitter data to enable better visualization of distribution density. ...

## Animated line drawings with OpenCV

DevFeed: [Animated line drawings with OpenCV](<https://devfeed.tech/articles/animated-line-drawings-with-opencv-21653.md>)

Original publisher: [Read original article](<https://www.windytan.com/2017/12/animated-line-drawings-with-opencv.html>)

Author: Oona Räisänen (noreply@blogger.com)

Published: 2017-12-30T12:15:00Z

Content type: tutorial

Language: en

Sources: [Oona Räisänen](<https://devfeed.tech/sources/oona-raisanen.md>)

Topics: [OpenCV](<https://devfeed.tech/topics/opencv.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [CMake](<https://devfeed.tech/topics/cmake.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [art](<https://devfeed.tech/tags/art.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [cmake](<https://devfeed.tech/tags/cmake.md>), [compiler-flags](<https://devfeed.tech/tags/compiler-flags.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [gaussian](<https://devfeed.tech/tags/gaussian.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [gui](<https://devfeed.tech/tags/gui.md>), [make](<https://devfeed.tech/tags/make.md>), [music](<https://devfeed.tech/tags/music.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rgb](<https://devfeed.tech/tags/rgb.md>), [rotation](<https://devfeed.tech/tags/rotation.md>), [subpixel](<https://devfeed.tech/tags/subpixel.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [vector](<https://devfeed.tech/tags/vector.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

This tutorial shows how to use OpenCV and C++ to create pixel-level animated graphics and save them as video. It covers project setup with CMake, drawing rotating concentric rings on an RGB canvas, subpixel antialiasing, and a Gaussian blur glow effect.

### Source excerpt

OpenCV is a pretty versatile C++ computer vision library. Because I use it every day it has also become my go-to tool for creating simple animations at pixel level, for fun, and saving them as video files. This is not one of its core functions but happens to be possible using its GUI drawing tools. Below we'll take a look at some video art I wrote for a music project. It goes a bit further than just line drawings but the rest is pretty much just flavouring. As you'll see, creating images in OpenCV has a lot in common with how you would work with layers and filters in an image editor like GIMP or Photoshop. Setting it up It doesn't take a lot of boilerplate to initialize an OpenCV project. Here's my minimal CMakeLists.txt: cmake_minimum_required (VERSION 2.8) project (marmalade) find_package (OpenCV REQUIRED) add_executable (marmalade marmalade.cc) target_link_libraries (marmalade ${OpenCV_LIBS}) I also like to set compiler flags to enforce the C++11 standard, but this is not necessary. In the main .cc file I have: #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" Now you can build the project by just typing cmake . && make in the terminal. Basic shapes First, we'll need an empty canvas. It will be a matrix (cv::Mat) with three unsigned char channels for RGB at Full HD resolution: const cv::Size video_size(1920, 1080); cv::Mat mat_frame = cv::Mat::zeros(video_size, CV_8UC3); This will also initialize everything to zero, i.e. black. Now we can draw our graphics! I had an initial idea of an endless cascade of concentric rings each rotating at a different speed. There might be color and brightness variations as well but otherwise it would stay static the whole time. You can't see a circle's rotation around its center, so we'll add some features to them as well, maybe some kind of bars or spokes. A simplified render method for a ring would look like this: void Ring::RenderTo(cv::Mat& mat_output) const { cv::circle(mat_output, 8 * center_, 8 *

## Plotting Reddit post frequencies with d3

DevFeed: [Plotting Reddit post frequencies with d3](<https://devfeed.tech/articles/plotting-reddit-post-frequencies-with-d3-32151.md>)

Original publisher: [Read original article](<https://adambard.com/blog/plotting-reddit-post-frequencies-with-d3/>)

Published: 2016-02-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Adam Bard](<https://devfeed.tech/sources/adam-bard.md>)

Topics: [d3.js](<https://devfeed.tech/topics/d3-js.md>), [plotting](<https://devfeed.tech/topics/plotting.md>), [data](<https://devfeed.tech/topics/data.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [charts](<https://devfeed.tech/tags/charts.md>), [code](<https://devfeed.tech/tags/code.md>), [d3](<https://devfeed.tech/tags/d3.md>), [d3-js](<https://devfeed.tech/tags/d3-js.md>), [data](<https://devfeed.tech/tags/data.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [plotting](<https://devfeed.tech/tags/plotting.md>)

### AI overview

A tutorial describing how the author added a 7x24 color-coded grid plot to Later's Reddit post timing analysis page using D3.js. The chart represents posting frequency across hours and days of the week, providing a more precise view than separate bar charts.

### Source excerpt

This week I added a better graph to Later (for Reddit)'s post timing analysis page. Previously, the most common time and the most common day were plotted on separate bar charts. However, I noticed that I got called out on this in this article on Medium, which offered a pretty sensible alternative that I wasted no time in ripping off wholesale. I still have the bar graphs in, but I also added a 7x24 color-coded grid plot, allowing for a more accurate view of exactly when the most popular posts were posted.

## Using an R Container for Analytical Models

DevFeed: [Using an R Container for Analytical Models](<https://devfeed.tech/articles/using-an-r-container-for-analytical-models-35187.md>)

Original publisher: [Read original article](<https://blog.jessfraz.com/post/r-containers-for-data-science/>)

Published: 2015-06-30T15:25:24Z

Content type: tutorial

Language: en

Sources: [Jessie Frazelle](<https://devfeed.tech/sources/jessie-frazelle.md>)

Topics: [R](<https://devfeed.tech/topics/r.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Data Science](<https://devfeed.tech/topics/data-science.md>), [plotting](<https://devfeed.tech/topics/plotting.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>)

Tags: [container](<https://devfeed.tech/tags/container.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

A tutorial on building and using an R Docker container for data science. It covers creating a custom image from an R base image, installing selected R packages, running the container with mounted data and X11 display support, and plotting the iris dataset with ggplot2.

### Source excerpt

So it turns out I'm pretty bad at vacation. I had this idea for a blog post and one thing lead to another and here we are... You probably know by now I hate installing things on my host. At my previous job we did a lot of work with using Python and R for data science. I still love plotting data with ggplot and my favorite R package, wes anderson color palette. Here's a fast intro into how to do this with an R Docker image. Now everyone loves their share of different packages, without a doubt I bet most of them are written by Hadley Wickham ;). Can you imagine if the percentage of packages contributed by Hadley to CRAN was mirrored by someone to NPM or pip? It would be crazy. We are going to start with an R base and build our ideal (aka you can make yours different, chill...) R data science container, with the following Dockerfile: # our R base image FROM r-base # install packages # these are ones I like RUN echo 'install.packages(c("ggplot2", "plyr", "reshape2", "RColorBrewer", "scales","grid", "wesanderson"), repos="http://cran.us.r-project.org", dependencies=TRUE)' > /tmp/packages.R \ && Rscript /tmp/packages.R # create an R user ENV HOME /home/user RUN useradd --create-home --home-dir $HOME user \ && chown -R user:user $HOME WORKDIR $HOME USER user # set the command CMD ["R"] Build the image: $ docker build --rm --force-rm -t jess/r-custom . Run and use the image: # we need X11 for the graph to display, alternatively # you can save to a file that is in a bind-mounted dir # or you can docker cp the file to the host :) $ docker run -it --name analytics \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=unix$DISPLAY \ jess/r-custom # bind mount your data $ docker run -v $(pwd)/data:/home/user/data \ -it --name analytics \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=unix$DISPLAY \ jess/r-custom Now plot something: library(wesanderson) library(ggplot2) ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) + geom_point(size = 3) + scale_color_manual(values = wes_pal

## Geo Proximity Search: The Haversine Equation

DevFeed: [Geo Proximity Search: The Haversine Equation](<https://devfeed.tech/articles/geo-proximity-search-the-haversine-equation-20732.md>)

Original publisher: [Read original article](<https://blog.fedecarg.com/2014/12/08/geo-proximity-search-the-haversine-equation/>)

Author: Federico

Published: 2014-12-08T11:48:00Z

Content type: tutorial

Language: en

Sources: [Federico Cargnelutti](<https://devfeed.tech/sources/federico-cargnelutti.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [databases](<https://devfeed.tech/tags/databases.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [map](<https://devfeed.tech/tags/map.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [php](<https://devfeed.tech/tags/php.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [points](<https://devfeed.tech/tags/points.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [sql](<https://devfeed.tech/tags/sql.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

This tutorial explains how to perform geo-proximity searches by plotting a radius around a map point using latitude and longitude. It introduces the Haversine equation for calculating great-circle distances and provides implementations in SQL, Python, and PHP.

### Source excerpt

I'm working on a project that requires Geo proximity search. Basically, what I'm doing is plotting a radius around a point on a map, which is defined by the distance between two points on the map given their latitudes and longitudes. To achieve this I'm using the Haversine formula (spherical trigonometry). This equation is important [...]