Hi Troels, Setting the dimensions to (None, 4) means that you have a user defined number of points, but each point is 4D [x, y, z, t]. Regards, Edward On 28 May 2014 12:09, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Wed May 28 12:09:37 2014 New Revision: 23508 URL: http://svn.gna.org/viewcvs/relax?rev=23508&view=rev Log: Modified the dim dimensions to (None, 4) to allow the user to change number of points in the GUI. THe first dimension was used as a counter, the last 3 dimensions is for x,y,z position. This is for the user function dx.map. Modified: trunk/user_functions/dx.py Modified: trunk/user_functions/dx.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/dx.py?rev=23508&r1=23507&r2=23508&view=diff ============================================================================== --- trunk/user_functions/dx.py (original) +++ trunk/user_functions/dx.py Wed May 28 12:09:37 2014 @@ -177,7 +177,7 @@ desc_short = "highlight points in the space", desc = "This argument allows specific points in the optimisation space to be displayed as coloured spheres. This can be used to highlight a minimum or other any other feature of the space. Either a single point or a list of points can be supplied. Each point is a list of floating point numbers in the form [x, y, z]", can_be_none = True, - dim = (None, 3) + dim = (None, 4) ) uf.add_keyarg( name = "point_file", _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits