6 decimal position limit?

Q&A for C, C++, and/or C# developers using DPlot
Post Reply
Mad2Max
Posts: 16
Joined: Wed Jan 03, 2007 9:34 am

6 decimal position limit?

Post by Mad2Max »

Hi,
I'm writing you because I've been caught by a strange problem feeding dplot with data.
In a XYXY plot I'm sending a vector of double.
If I use decimal places of any number up to the 6th then everything is fine.
If I use decimal places over the 6th then dplot answers with:

In DPlot_Command, DdeConnect failed for topic=XYPlot
error code=0x0000400a

Maybe it's a problem in my code but, anyway, just to know if there is any limitation.

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

Post by DPlotAdmin »

That should work. I can't see how increasing the number of decimal places would cause that failure. It will force the number of digits to 12 or fewer, but if you exceed that you won't get an error. I suspect whatever happened was a coincidence and there is some other problem. You're welcome to send me your source.
Visualize Your Data
support@dplot.com
Mad2Max
Posts: 16
Joined: Wed Jan 03, 2007 9:34 am

Post by Mad2Max »

I've cut my code to test dplot and this way dplot works great even changing the decimal places.
So I guess you're right.
I'll give feedback to the forum in case the solution can be good for someone else.
Anyway good to know ...
Post Reply