Comments (4)
Sure. Commands to gnuplot can be given:
feedgnuplot --extracmds 'set logscale xy'
will send that string as a command to gnuplot prior to sending it any data. The above sets the x and y axes to be base-10 logarithmic. Other options are available, of course. See the gnuplot docs for more info
from feedgnuplot.
Great! Thank you very much, I appreciate your fast response.
Cheers,
Eelis
from feedgnuplot.
Hi,
Any advice on doing histograms with logarithmic axes? E.g. I am working off the sample code for plotting a histogram of file sizes in a directory, but my files are dominated primarily by a filesize of < 10 MB, with a few in the 10-200 MB range, within this particular folder. So I get a tall box counting many between 0 to 10 MB, but I'd like some more information here. (I could plot separately a histogram of that range, but I think a logarithmic x-axis (file size) scale would do well, as it should give more information about these files while clustering the larger filesizes together more, which is fine).
I tried:
ls -l | awk '{print $5/1e6}' | feedgnuplot --histogram 0 --with boxes --binwidth 10 --set 'style fill solid' --ymin 0 --xlabel 'File size (MB)' --ylabel Frequency --extracmds 'set logscale x' --xmin 1
but this did not work well.
Note that I set --xmin 1 because it gives an error without it:
Warning: empty x range [0:0], adjusting to [-1:1]
line 73: x range must be greater than 0 for log scale
Please advise.
Thanks,
Daniel
from feedgnuplot.
Hi. With a logscale histogram, it's not clear what the binwidth means. If you set it much lower, you might get more pleasing results. Try 0.1
from feedgnuplot.
Related Issues (20)
- dataid with space HOT 3
- "caca driver ncurses" terminal does not work properly HOT 2
- 1.46 error Global symbol "$icurve" requires explicit package name at /usr/local/Cellar/feedgnuplot/1.46/bin/feedgnuplot line 931. HOT 2
- Plotting both regular and cumulative histogram (from the same data) on the same graph HOT 5
- Not printing data out in real time just printing out all at once at the end of loop. HOT 3
- Plot windows stealing focus preventing ctrl+c exit strategy. HOT 8
- Zombie processes remain when generating multiple plots despite including the --exit parameter. HOT 5
- Perl related dependency missing? HOT 2
- [Q] How do I plot in the terminal? HOT 2
- Should be able to read the tic labels from the data HOT 3
- Display problems on wayland HOT 2
- Question: integrating/averaging? HOT 2
- Support for a different field separator in stdin HOT 2
- can I suggest using feedgnuplot with DomTerm? HOT 6
- How to send input to feedgnuplot from a different shell HOT 6
- How to embed y-values above the plot points? HOT 3
- shebang HOT 2
- How can I use variables with feedgnuplot? HOT 7
- How to add comands after plot HOT 4
- feedgnuplot --stream option 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 feedgnuplot.