> What are the offsets units related to? This is the command I send:

units are in pixels.

x and y are independent

negative moves left/down

positive move up/right

0 is centered

> "select elemno>1; label %a; set labeloffset 3 0; font label 14 sansserif
> bold"

Try some bigger numbers ... look at the following combinations

set labeloffset 0 0; delay; set labeloffset 0 10; delay; set labeloffset
10 10; delay;
set labeloffset 10 0; delay; set labeloffset 10 -10; delay; set
labeloffset 0 -10; delay
set labeloffset -10 -10; delay; set labeloffset -10 0; delay; set
labeloffset -10 10


> and the label appears just touching the default atom sphere directly
> "east" of the atom. But no matter what value I try for the y-offset (1 -
> 4) the label goes to the default "north-east" position (using 0 4 for the
> offsets does put the label "north" of the atom).

Let's deal with the x dimension.

If x is positive, then the label is to the right.
the pixel count is the distance from the center of the atom to the left
end of the label

if x is negative, then the label is to the left
the pixel count is the pixel count from center of the atom to the right
end of the label

if x is 0 then the center of the label is centered on the atom.


Same for y, only up/down

Miguel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to