Hi Troels, According to the Grace users guide, for example at http://www.csb.yale.edu/userguides/datamanip/grace/grace-current/UsersGuide.html#ss5.9, there is the option to add:
@ autoscale onread xyaxes This is for within the "@with gx" sections. However when I tried this, as well as replacing 'xyaxes' with just 'yaxes', it appeared to do nothing. If the autoscale cannot be applied to a single axis, then it will not be too useful. The point of the axis_min and axis_max arguments is so that the relax code can best determine how the graph should be presented to the user. The best would be then to have the various parts of relax come up with better estimates of xmin, xmax, ymin, and ymax. As this is not a major issue - the user can always click on the autoscale button in Grace to fix things - then I'll leave this open for a while. You are welcome to give this a go, if you like. All changes would go into the relax trunk, as this is not specific to dispersion analyses. Regards, Edward On 11 June 2013 14:07, Edward d'Auvergne <[email protected]> wrote: > Hi Troels, > > I was not aware of this Grace feature. Do you mean adding it to the > Grace *.agr files? The only problem is that for some graphs, the code > explicitly sets the limits of one or both of the axes. See the > axis_min and axis_max arguments of the write_xy_header() function in > the lib/software/grace.py file. Therefore the only solution would be > to set autoscaling for only one axis. Would you know how to do this? > > Cheers, > > Edward > > > > > > On 11 June 2013 12:04, Troels E. Linnet > <[email protected]> wrote: >> URL: >> <http://gna.org/bugs/?20888> >> >> Summary: @autoscale command missing in grace files >> Project: relax >> Submitted by: tlinnet >> Submitted on: Tue 11 Jun 2013 10:04:03 AM GMT >> Category: relax's source code >> Severity: 1 - Wish >> Priority: 5 - Normal >> Status: None >> Privacy: Public >> Assigned to: None >> Originator Name: >> Originator Email: >> Open/Closed: Open >> Discussion Lock: Any >> Release: Branches >> Operating System: GNU/Linux >> >> _______________________________________________________ >> >> Details: >> >> Hi. >> >> I looked at the LM63 results from a dispersion analysis. Openening the >> residue >> files fit '''disp_#protein:[email protected]''' with xmgrace produced nice graphs. >> They contained keyword: @world ymax 10.000 >> >> But the: chi2.agr and phi_ex.agr did not readily produce graphs, since they >> miss a scaling keyword. I found, that if one adds to the very end of the >> script, the keyword: @autoscale >> then graph scale nicely. >> >> I hope that this could be auto-written to these files. >> >> >> >> >> >> >> _______________________________________________________ >> >> Reply to this item at: >> >> <http://gna.org/bugs/?20888> >> >> _______________________________________________ >> Message sent via/by Gna! >> http://gna.org/ >> >> >> _______________________________________________ >> relax (http://www.nmr-relax.com) >> >> This is the relax-devel mailing list >> [email protected] >> >> 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-devel _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-devel mailing list [email protected] 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-devel

