pavlov99 / docker-gnuplot Goto Github PK
View Code? Open in Web Editor NEWGnuplot 5 packaged in Docker alpine container
License: MIT License
Gnuplot 5 packaged in Docker alpine container
License: MIT License
Hi there,
thanks for the Dockerfile!
Unfortunately, in its current state, it is rather limited because fonts are missing.
$ docker pull pavlov99/gnuplot
$ docker run -it --rm pavlov99/gnuplot /bin/sh
/ # fc-list
/ #
For example lets render some basic plot with a title:
$ docker run -it --rm -v `pwd`:/tmp pavlov99/gnuplot gnuplot
gnuplot> cd "/tmp"
gnuplot> set terminal pngcairo
gnuplot> set output "image.png"
gnuplot> set title "Untitled"
gnuplot> plot sin(x)
There won't be any text in this image because there are no fonts in your image.
Pretty easy to solve. Just add something like RUN apk --no-cache add ttf-ubuntu-font-family fontconfig && fc-cache -f
to your Docker file.
In know, this repo is two years old, but I find it still useful. Maybe this helps someone else stumbling upon it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.