GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fbbdev/plot: Header-only terminal plotting library for C++

BranchesTags
Open more actions menu

Latest commit

 

History

99 Commits
99 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
include
include
 
 
scripts
scripts
 
 
.clang_complete
.clang_complete
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

C++ terminal plotting library

Build Status

WARNING: This library is a work in progress!

Header-only.

Compile examples with C++14 support; link with -lm (gcc/libstdc++ >= 4.9 required; tested with gcc 4.9, gcc 6.0 and clang 3.9). The library tries to detect terminal capabilities automatically; a xterm-compatible terminal is recommended.

A CMake build environment is provided which will build examples and optionally pack headers into a single header library.

Please note that non-POSIX platforms (e.g. Windows) are currently not supported and compilation for them will fail.

Packing headers

pack.py is a python script which can pack all headers into a single-header library. The following command will generate a header file (plot_lib.hpp) ready for inclusion in other projects.

./pack.py plot.hpp > plot_lib.hpp

The script will be run automatically by the CMake build system when the BUILD_SINGLE_HEADER option is set. A file named plot.hpp will be created in the build dir. A working Python 3 installation is required.

Demo

https://youtu.be/7WG6xP5MIe4

Video: plot at work

License

The MIT License

Copyright © 2016 Fabio Massaioli

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Header-only terminal plotting library for C++

Topics

c-plus-plusc-plus-plus-14cppcpp14graphingmodern-cpppaintingplottingterminalterminal-based

Resources

Readme
MIT license
Activity

Stars

95 stars

Watchers

4 watching

Forks

13 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.