5

I'm plotting some heatmaps in gnuplot. It has the graph and a colorbar in the right side of the graph. But I wish to change it's position in the plot. Does anybody know the command to change the position of the colorbar in the plot ??

Thanks,

Thiago

1 Answer 1

9

You can use the command set colorbox:

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

If you want it anywhere but the default position you have to set the coordinates manually. For more info you can type

help set

in gnuplot and all the options starting with cb and colorbox refer to fine points of the colorbox.

1
  • Thank you a lot. That's exacly what I need.
    – Thiago
    Commented Nov 21, 2012 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.