Trouble with DPlot_Plot Function

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot
Post Reply
Sam48218
Posts: 3
Joined: Thu Jul 14, 2011 2:31 pm

Trouble with DPlot_Plot Function

Post by Sam48218 »

Good afternoon,

I am having trouble passing X,Y data to DPlot Jr. using the DPlot_Plot function, and was wondering if anyone has experienced a similar problem. I do the following,

docnum=DPlot_Plot(d,x(0),y(0),cmds)

After making this call, nothing happens with DPlot Jr., and the function returns -6 to docnum. This return value is not published in the online documentation, thus I have no idea what it means.

Any help would be greatly appreciated!

Thanks,
Eric
Sam48218
Posts: 3
Joined: Thu Jul 14, 2011 2:31 pm

Problem Resolved

Post by Sam48218 »

Hello Again,

I figured out my problem! The DPLOT structure that I was passing as an argument to the DPlot_Plot function was incomplete.

Thanks,
Eric
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Thanks,
Eric
You're welcome :D. Sorry for the tardy response, have been on the road today. But I'm glad you figured it out.
Visualize Your Data
support@dplot.com
Post Reply