Gnuplot vertical gradient on boxes depending of a value?

我的未来我决定 提交于 2019-12-06 03:43:21

Finaly i have for me the perfect, and . . i think a very nice solution.
First the plot and after that the correspondenting script.

The highlights are;    
maks = STATS_max_y  
min  = STATS_max_x  
afgenomen = gebruikt-zon  

set palette defined (-(min) "#D30000", 0 "#00F000", .1 "#FFF900", (maks) "#FF0700")

plot for [i=51:1:-1] file u 1:(($10/51)*i):(($10/51)*i) w boxes lc palette  notitle,\
                     file u 1:10 w boxes fill empty  notitle,\

For all the examples that i have made look on my site: http://ccvd.eu/Energie.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!