Page 1 of 1

Trouble with DPlot_Plot Function

Posted: Tue Jul 19, 2011 2:05 pm
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

Problem Resolved

Posted: Tue Jul 19, 2011 2:34 pm
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

Posted: Tue Jul 19, 2011 5:48 pm
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.