From: Yongcheng Zhou (zhouyon1_at_math.msu.edu)
Date: Fri Aug 11 2006 - 18:38:38 CDT

Dear folks,

It seems that the color_bar plugin

  http://www.ks.uiuc.edu/Research/vmd/plugins/colorscalebar/

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.

Yongcheng

----
Zhou Yongcheng <zhouyon1_at_math.msu.edu>
Department of Mathematics
Michigan State University
East Lansing, MI 48824