Gnuplot vertical gradient on boxes depending of a value?

本小妞迷上赌 提交于 2019-12-22 09:37:39

问题


Is this possible in gnuplot?

How more energie how harder the color, look the example.

plot for [i=1:16] file u 1:($10/i):((i*2)*1048576) w boxes lc rgb variable notitle.

This is what I have now, this might be a possibility? The first example was an Excel graph.


回答1:


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



来源:https://stackoverflow.com/questions/20960054/gnuplot-vertical-gradient-on-boxes-depending-of-a-value

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