Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gnuplot vertical gradient on boxes depending of a value?

Is this possible in gnuplot?

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

enter image description here

enter image description here

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.

like image 941
Con Avatar asked Apr 10 '26 06:04

Con


1 Answers

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

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

like image 61
Con Avatar answered Apr 13 '26 03:04

Con



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!