hrodstein This will do it. Function GetTraceOffset(graphName, traceName, instance, which) String graphName // "" for top graph String traceName Variable instance // Usually 0 Variable which // 0 for X, 1 for Y String info= TraceInfo(graphName,traceName, instance) String offsets = StringByKey("offset(x)",info,"=",";") // "{xOffset,yOffset}" Variable xOffset,yOffset sscanf offsets, "{%g,%g}",xOffset,yOffset if (which) return yOffset endif return xOffset End Log in or register to post comments June 19, 2011 at 02:56 pm - Permalink
LTKunneman It works great, thank you :) TraceInfo had caught my attention, and I only now notice, when I try it, that actually much more keywords are available than are written out in the manual. TraceInfo is the logical candidate of course. Thank you! Log in or register to post comments June 20, 2011 at 12:41 am - Permalink
June 19, 2011 at 02:56 pm - Permalink
TraceInfo had caught my attention, and I only now notice, when I try it, that actually much more keywords are available than are written out in the manual. TraceInfo is the logical candidate of course. Thank you!
June 20, 2011 at 12:41 am - Permalink