开发者

display values within stacked boxes of rowstacked histograms in gnuplot?

开发者 https://www.devze.com 2023-02-04 20:11 出处:网络
I am using gnuplot (Version 4.4 patchlevel 2) to generate rowstacked histograms, very similar to the example called \"Stacked histograms by percent\" from the gnuplot demo site at http://www.gnuplot.i

I am using gnuplot (Version 4.4 patchlevel 2) to generate rowstacked histograms, very similar to the example called "Stacked histograms by percent" from the gnuplot demo site at http://www.gnuplot.info/demo/histograms.htm开发者_StackOverflow中文版l

I want to display the values of each stacked box within it.

I.e. I want to display the actual numerical value (in percent and/or the absolute number) of each box.

How can I do that?


How many numbers do you want to enter.

If it is just a few then have you tried

set label "label" at 2,3

If there are many then you can write a script to decide where to put the numbers - something like here

Plotting arrows with gnuplot

Don't know a way to do it by magic, although I am not very familiar with rowstacked histograms

Tom

0

精彩评论

暂无评论...
验证码 换一张
取 消