From: Yongcheng Zhou (
Date: Fri Aug 11 2006 - 18:38:38 CDT

Dear folks,

It seems that the color_bar plugin

can generate a color bar with right aligned numbers. However,
with color_scale_bar_new.tcl, I can only generate a color bar
with central aligned numbers.

This is the command in this tcl file to `draw' numbers:

  draw text " $coord_x $coord_y $use_z" [format %6.2f $cur_text]

If this was in C language, then the numbers will be right alignd by
default. But it is not.

Is is possible to change this tcl file to generage right aligned numbers?

Thanks a lot.


Zhou Yongcheng <>
Department of Mathematics
Michigan State University
East Lansing, MI 48824