How to move the color bar of a heatmap to gnuplot?

I draw several layers in gnuplot. It has a graph and a color bar on the right side of the graph. But I want to change his position in the plot. Does anyone know a command to reposition a color bar in a plot?

Thanks,

Thiago

+4
source share
1 answer

You can use the set colorbox :

 set colorbox vertical user origin .02, .1 size .04,.8 

If you want it anywhere except the default position, you need to manually set the coordinates. For more information you can enter

 help set 

in gnuplot, and all parameters starting with cb and colorbox refer to the thin points of colorbox.

+8
source

Source: https://habr.com/ru/post/1447493/


All Articles