Size scale legend for "Marker size as f(z)"?

I am relatively new to IGOR and have recently made a graph that uses the "Marker size as f(z)" functionality. It works great, but I would like to provide a legend for the marker sizes as well, similar to the ColorScale option. I have found example graphs doing exactly this on the WaveMetrics website, but cannot determine how to do it myself (http://www.wavemetrics.com/products/igorpro/creatinggraphs/2dgraphs/lin…, go to the "Enhanced XY-plotting section"). Is this a built in feature, or something I will have to write myself? If it is something I need to write, can anyone give me any pointers on where to start?
Thanks in advance!
That size as f(z) "legend" is just an xy pair of specially constructed waves with 5 points.

You can see that graph (and its recreation macro) in File->Example Experiments->Sample Graphs->Demo Experiment #2.

It is the graph whose title is "Marker Size and Color as f(Z)".

The author created a 5 point wave with the 5 sizes he wanted symbols for (call it markersY), and another 5 point wave to provide identical X values (=0).

For example:
Make/O/N=20 data= x
Make/O/N=20 mSize= 3+ enoise(2)
Display data
Make/O markersY={1,2,3,4,5}
Make/O markersX={0,0,0,0,0}
AppendToGraph/R/B=bottom2 markersY vs markersX
ModifyGraph mode=3, marker=19
ModifyGraph zmrkSize(data)={mSize,*,*,1,10}
ModifyGraph zmrkSize(markersY)={markersY,*,*,1,10}
ModifyGraph tick(right)=2
ModifyGraph nticks(bottom)=10,nticks(bottom2)=0
ModifyGraph lblPos(bottom)=37
ModifyGraph freePos(bottom2)={0,kwFraction}
ModifyGraph axisEnab(bottom)={0,0.9}
ModifyGraph axisEnab(right)={0.2,0.8}
ModifyGraph axisEnab(bottom2)={0.9,1}


--Jim Prouty
Software Engineer, WaveMetrics, Inc.
MarkerSizeLegend.png