Comments (2)
you can easily define the height of the graph with asciigraph.Height().
This is done in the asciigraph command example when you specify -h:
$ echo 1 200 1000 5000 |asciigraph -h 10
5000 ┼ ╭
4500 ┤ │
4000 ┤ │
3500 ┤ │
3000 ┤ │
2500 ┤ │
2001 ┤ │
1501 ┤ │
1001 ┤ ╭╯
501 ┤ │
1 ┼─╯
from asciigraph.
Hi @LinuxSuRen, this seems to be doable already as @0x6373 mentioned in comment. Closing this issue for now, please feel free to re-open. ✨
from asciigraph.
Related Issues (20)
- Axis cross (┼) is in the wrong place at some scales HOT 2
- Hello! Thank you. :)
- Panic when no positive values provided HOT 3
- Reformat Code HOT 5
- Can I plot bar graphs? HOT 1
- NaN numbers HOT 1
- caption not centred HOT 1
- Add option to set fixed range for values
- Print X-Axis values HOT 4
- Confused about the Offset option HOT 2
- Two options: ColorAbove and ColorBelow HOT 1
- PlotMany from command line HOT 2
- Add tests for CLI HOT 2
- CLI: for realtime data stream, clear old graph before plotting new data
- How to install now that `go get` is deprecated HOT 1
- Add legend to graph HOT 1
- is it possible to generate a svg or jpg image? HOT 1
- PlotMany() modifies caller data slices, yielding incorrect plots when called multiple times when a fixed Width is set HOT 1
- Panics if data is flat HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asciigraph.