CurveLabel

Q&A for C, C++, and/or C# developers using DPlot

Moderator: DPlotAdmin

Post Reply
alleyjo
Posts: 7
Joined: Mon Jan 28, 2013 10:52 pm

CurveLabel

Post by alleyjo »

I’m using the [CurveLabel(curve,”string”)] command to label up to 32 XYYY separate curves on one document. The curves are horizontal lines displaying on/off status of various variables (switches). The labels drawn overlap each line near the last data point instead of adjacent to its last data point, which I had expected. I experimented with the x extent value, thinking this would allow the label to be automatically displayed adjacent to the last data point, but it didn’t affect the label placement. Interestingly if I zoom into any of the overlapped labels the label did appear next to the last data point. Is this the expected behavior? I'm using DPLOT version 2.3.1.3.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

The label alignment is based on the slope from the next-to-last point to the last point, but from your description I must have fouled that up somehow. Please save your graph as a DPlot file and send it to me at support@dplot.com
Visualize Your Data
support@dplot.com
Post Reply