

Perhaps the created string (called something like S_traceNames) could be a keyed list e.g., ":. I suppose one issue is that multiple traces could be displayed/appended or renamed at once. I have always wished that such a string was created after use of the /TN flag with display or appendtograph, and it would be great to have it added for that. Presumably # would be applied in the case of a conflict with the requested new name. I am imagining something analogous to the S_name string that is created after a display command. It would also be very nice for the new ModifyGraph to create a string containing what the new name was set to.
Main namespace igor pro pro#
Today I implemented ModifyGraph userName(tracename)=newname so that you can change a user-defined trace name to something else, or if you set the name to $"" you can revert to the default based on the wave's name.Ĭoming to an Igor Pro 9 near you, on some unspecified future date. HideTrace ( x )= 1 useMrkStrokeRGB ( x )= 0 mrkStrokeRGB ( x )= ( 0, 0, 0 ) useBarStrokeRGB ( x )= 0 barStrokeRGB ( x )= ( 0, 0, 0 ) offset ( x )= Marker ( x )= 0 lSize ( x )= 0.5 lStyle ( x )= 0 lSmooth ( x )= 0 rgb ( x )= ( 65535, 0, 0 ) msize ( x )= 0 mrkThick ( x )= 0.5 opaque ( x )= 0 mstandoff ( x )= 0 hbFill ( x )= 0 gaps ( x )= 1 live ( x )= 0 quickdrag ( x )= 0 mskip ( x )= 0 cmplxMode ( x )= 0 TextMarker ( x )= 0 arrowMarker ( x )= 0 mask ( x )= 0 patBkgColor ( x )= 0 useNegPat ( x )= 0 hBarNegFill ( x )= 0 usePlusRGB ( x )= 0 plusRGB ( x )= ( 65535, 0, 0 ) useNegRGB ( x )= 0 negRGB ( x )= ( 65535, 0, 0 ) toMode ( x )= 0 mode ( x )= 0 XWAVE: YAXIS:left XAXIS:bottom AXISFLAGS: AXISZ: NaN XWAVEDF: YRANGE: XRANGE: TYPE: 0 ERRORBARS: RECREATION:zColor ( x )= 0 zColorMax ( x )= 0 zColorMin ( x )= 0 zmrkSize ( x )= 0 zmrkNum ( x )= 0 zpatNum ( x )= 0 I'm grateful for anyone's insights into this. Is that my only option? BTW, I'm using Igor 7. Right now, it seems I have to RemoveFromGraph the old tracename and then AppendToGraph with the new tracename. Is there a way to force a name change? ReplaceWave doesn't address this (side note: ReplaceWave acts a little strangely with these non-default tracenames). When the x-y waves are renamed, the tracenames do not change (they do with the default #-style tracenames). The problem is that the user needs to be able to name and rename the tracings. This method allows me to specifically modify traces that occupy known locations. "cell1_y_1" if it is displayed on top of image #1). "cell1_y vs cell1_x"), with the tracename being the y wave with a suffix (e.g. I have implemented the tracings as x-y waves (e.g.

The same tracing can therefore appear on multiple images. The interface shows multiple images on one graph, and the user has the option to show or hide different colour channels, as well as the tracings they have already done. This arises because I am writing an interface for users to trace structures on images. But if I specify the tracename myself using the /TN flag with Display or AppendToGraph, how can I modify the tracename? My question is, is it possible to rename a tracename? When a wave is renamed, its associated tracenames are renamed automatically in every graph according to the new wavename, provided they are the default "#" style. I just discovered the /TN flag in Display and AppendToGraph, and it makes some issues much much easier for me. Wide-Angle Neutron Spin Echo Spectroscopy.
