measure "n:labelFormat"

*Changes all previously defined measurement labels of a given type (n = 2,
3, or 4) to the indicated format. The default label is "%VALUE %UNITS" for
all types. Starting with Jmol 13.0, specifically for distances, the suffix
//A will use angstroms for the default label for distance measurements.
Other suffixes include //nm, //pm, and //vdw. Also available is %#(percent
number-sign), which gives the 1-based number of the measurement. Atom
information can be included as for labels
<http://chemapps.stolaf.edu/jmol/docs/?ver=14.2#label>, adding 1 or 2 to
the format code to indicate which atom. So, for example, measure "2:%a1 --
%a2 distance = %0.0VALUE" delivers the two atom names along with the value
of the measurement rounded to the nearest integer with no units indicated.
Starting with Jmol 12.2, specific units for the measurements can be given
after two slashes: measure "2:%a1 -- %a2 distance = %0.1VALUE //A" would
display the distance rounded to the nearest 0.1 Angstrom. *





On Sat, Jul 26, 2014 at 11:41 AM, Pshemak Maslak <[email protected]> wrote:

>  How can control measure labels (position and font)?
>
> How does  "set defaultDistanceLabel "format"" work?
>
> What is "format" in this case?
>
> Thanks,
>
> PM
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to