[LIBISIS-code-tickets] [LIBISIS] #41: allow aspect ratio to be set manually

LIBISIS Library and Applications noreply at libisis.org
Tue Jan 2 14:12:06 GMT 2007


#41: allow aspect ratio to be set manually
-------------------------+--------------------------------------------------
Reporter:  Toby Perring  |      Owner:  Dean Whittaker
    Type:  enhancement   |     Status:  new           
Priority:  major         |   Keywords:                
-------------------------+--------------------------------------------------
 When plotting 2D graphics, it is often very helpful to enforce the aspect
 ratio so that one unit of x has the same length on the plot as one unit of
 y (i.e. the box defined by the points (0,0) and (L,L) is actually square
 on the screen). More generally, one wants the ratio of a unit of x to unit
 of y to be x_ulen to y_ulen, where the latter two are the unit lengths
 e.g. of a reciprocal lattice unit in Angstroms.

 I've implemented a little utility to do this in the attached file, but it
 needs to be put into the GTK framework - you may want to put more code
 around the function, and have a way to restore the defaults (i.e. if one
 screws up, to return to what Matlab would have done).

-- 
Ticket URL: <http://trac.libisis.org/code/ticket/41>
LIBISIS Library and Applications <http://www.libisis.org/>
LIBISIS Library and Applications



More information about the LIBISIS-code-tickets mailing list