See http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm

35. scales for axes, boundbox, measures
# Jmol 11.9.12 adds optional scales to axes, boundbox, and measures.

load caffeine.xyz
boundbox ticks {2.0, 1.0, 0.2} # major, minor, subminor
measure ticks {1.0 0.2 0} format ["%0.0f"] {-3 0 0} {3 0 0}
measure ticks {1.0 0.2 0} format ["%0.0f"] first -1.3 {-3 0 0} {3 0 0}
boundbox off;measures delete;
axes ticks x {2 0 0} format ["%0.0f"] scale 2
axes ticks y {1 0 0} format ["%0.0f"] scale 1.5
axes ticks z {3 0 0} format ["%0.0f"] scale 3

On Thu, Dec 17, 2009 at 12:21 PM, Robert Hanson <[email protected]> wrote:

> Well, it's certainly a way to get feature requests! (By the way, those need
> to be actual feature requests, please.
> http://sourceforge.net/tracker/?func=add&group_id=23629&atid=379136)
>
> OK, just because it was so easy, I did implement changeable axes labels.
> Simple as:
>
> axes labels "x" "y" "z"
>
> I thought about the tick/bounding box idea, and I have an improvement. I
> think I'll have it done today, and I promise that it will involve almost no
> new code (because I have found a way to streamline the measurement code at
> the same time). The idea is a general measure that looks like a ruler, with
> major, minor, and subminor ticks (if desired) and markings along the way (if
> desired). I think this could be a cool look in general, and it could be then
> used anywhere you want, perhaps along a bounding box, or along an axis, or
> just anywhere.
>
> The tachyon tracer idea is a good one -- just show me the format.
>
>
> Bob
>
>
> On Thu, Dec 17, 2009 at 2:44 AM, Egon Willighagen <
> [email protected]> wrote:
>
>> On Wed, Dec 16, 2009 at 9:22 PM, Robert Hanson <[email protected]>
>> wrote:
>> > But I agree, the business with axes and tics and such is pretty far
>> afield
>> > of the core Jmol mission.
>>
>> Not sure if ticks are must used in crystallography, but axes most
>> certainly... I also use the axes visualization in some graphics for a
>> book chapter that is about finished on 3D molecular representation...
>> (which I will email about when published).
>>
>> Egon
>>
>> --
>> Post-doc @ Uppsala University
>> Homepage: http://egonw.github.com/
>> Blog: http://chem-bla-ics.blogspot.com/
>> PubList: http://www.citeulike.org/user/egonw/tag/papers
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> 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
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to