Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Shift labels of colorbar

  • Is it possible to shift colorbar tick labels in order that they don't overlap with the colorbar? If I use SetTickShift, the multiplier is shifted too but I needn't it. I can send the examples but I don't know how I can attach images here.

  • Alexey Balakin
    Alexey Balakin

    You can shift colorbar labels as usual axis labels -- use function SetTickShift() or mgl_set_tick_shift() and change its last argument. For example, SetTickShift(mglPoint(0,0,0,0.1));