Labelling a point

VBA and general Excel Q&A and examples
Post Reply
Godspower Njoku
Posts: 1
Joined: Sun Apr 18, 2010 11:49 am
Location: London

Labelling a point

Post by Godspower Njoku »

How do I label a point on dplot?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Since you posted this in the Excel forum, I assume you mean from Excel. There's no good way to do that unless you want to write your own VBA routine that calls the DPlot_Command function in dplotlib.xla. If that's what you want to do, it is easy enough:

doc = DPlotGetActiveDocument()
If doc > 0 Then
ret = DPlot_Command(doc, "[TextPointLabel(<textpointlabel parameters: see Help file>)]")
Call DPlot_Finish(doc)
End If
Visualize Your Data
support@dplot.com
Post Reply