This is a fairly minor issue, but one that I'm curious about nonetheless. When I use the axis label as a plot symbol legend, I put the symbol in parentheses (see attached or this won't make sense). However, there is a fair amount of white space on either side of the symbol. I was wondering if there is an alternative way of inserting the trace symbol to eliminate that white space. I realize the space might be there because there would be a line there if my trace symbol were "line between markers".
Sorry, I should have specified that the axis label in the plot was made using Special -> Wave Symbol in the Modify Axis dialog. However, I get identical behavior if I use Special -> Marker.
September 26, 2013 at 08:31 am - Permalink
Here is a kludge that you can try. It uses the \x escape code to fiddle with the positions of things:
Hello (\x-30\W519\x-30) Goodbye
This requires fiddling with the offset parameter (30 in the example above) which will be dependent on the font and font size.
To read about the various escape codes used in annotations and axis labels, see the Details section of the help for the Textbox operation.
September 26, 2013 at 12:51 pm - Permalink
September 30, 2013 at 09:46 am - Permalink
Make/O/N=5 data=p
PauseUpdate; Silent 1 // building window...
Display /W=(128,92,530,323) data
ModifyGraph mode=3
ModifyGraph marker=19
ModifyGraph lblMargin(left)=5,lblMargin(bottom)=11
ModifyGraph axOffset(bottom)=4.08333
Label bottom "Axis Label (\\s(data))\r(\\\\s\\\\(data))"
TextBox/C/N=text0/F=0/H=5/A=MC/X=0.32/Y=-88.79 "\\JCAnnotation (\\s(data))\rwith /H=5 (symbol width)"
EndMacro
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
October 4, 2013 at 03:54 pm - Permalink