<Stack Overflow error>

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot
Post Reply
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

<Stack Overflow error>

Post by guibson »

Hi

I'd like to know why I'm getting a <Stack Overflow error> from Dplot when I'm trying to plot a graph that has the following values in the commands :

[ManualScale(0.35,3,0.55,11,1.25080001354218,1.62639999389648)]

and if I don't send anything for a ManualScale then everything is OK

Thanks
________
MERCEDES-BENZ W125
Last edited by guibson on Fri Feb 11, 2011 10:50 pm, edited 1 time in total.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

What environment are you using? VB5, VB6, or something else? How long is the complete command string that you're sending to DPlot including the ManualScale command?

Are you certain that this error message was produced by DPlot? How is it displayed?

What happens if you produce your plot without the ManualScale command, then manually set those same values within DPlot?
Visualize Your Data
support@dplot.com
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

&lt;Stack Overflow&gt;

Post by guibson »

Using VB6

Here is a the complete commands for graph with no error :

[ManualScale(0,3,2,11,1.17780005931854,1.67349994182587)][ContourScales(4, 1, 161.387974504549)][Contour3D(1)][ContourColorScheme(2)][TextFont(6,10,400,0,0,0,0,"arial")][TextFont(2,8,700,0,0,0,0,"arial")][TextFont(3,8,700,0,0,0,0,"arial")][TextFont(8,10,700,0,0,0,0,"Arial")][ContourCustomColors(16711680,60000,255)][ZAxisLabel("Liquidus Temperature ?C")][ClearEditFlag()][ContourView(30,30)]

and for one resulting with an error :

[ManualScale(0.35,3,0.55,11,1.25080001354218,1.62639999389648)][ContourScales(40, 1, 212.992556401453)][Contour3D(1)][ContourColorScheme(2)][TextFont(6,10,400,0,0,0,0,"arial")][TextFont(2,8,700,0,0,0,0,"arial")][TextFont(3,8,700,0,0,0,0,"arial")][TextFont(8,10,700,0,0,0,0,"Arial")][ContourCustomColors(16711680,60000,255)][ZAxisLabel("Liquidus Temperature ?C")][ClearEditFlag()][ContourView(30,30)]

The error is produces by Dplot : the title of the msgbox is :

<Application error:D:\program files\Dplotjr\dplotjr.exe>

I will try to set manually the values in Dplot and let you know about the results.

Thanks
________
Honda Quint history
Last edited by guibson on Fri Feb 11, 2011 10:50 pm, edited 1 time in total.
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

&lt;Stack Overflow&gt;

Post by guibson »

OK if I manually set the ManualScale with values then I don't get the error but I don't get a graph too.

I try to send rounded values to 4 digits to Dplot and I don't get the error message anymore but no results.

There is something that I think is interesting to know. The error happen when xHi value is lower than 1 . For all of my other graphs xHi value is greater than 1.

Hope it will help you finding the problem


Thanks
________
Wiki vaporizer
Last edited by guibson on Fri Feb 11, 2011 10:50 pm, edited 1 time in total.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

What are the actual extents of your data? Low and high values for each of X, Y, and Z?
Visualize Your Data
support@dplot.com
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

Post by guibson »

Extents are :

zhi = 1.62639999389648
zlo = 1.25080001354218
yhi = 11
xhi = 0.55
ylo = 3
xlo = 0.35

Thank you !
________
F2002
Last edited by guibson on Fri Feb 11, 2011 10:51 pm, edited 1 time in total.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Are you using a fairly recent version of DPlot Jr? If not 1.999 or later, please download the latest and let me know how that turns out.

If you already ARE using the latest... I'm stumped. I tried creating a plot with those same extents, and I get no error regardless of how many significant figures I use in the ManualScale command. And the only reason you should get no plot is if the specified extents are outside the limits of your data. Try adding a title line "Zmin=$ZMIN, Zmax=$ZMAX" just to confirm that DPlot and you agree on the extents.

BTW your ContourScales command results in a very tall, skinny plot, but this doesn't cause any problems. If you don't get a very tall, skinny plot with [ContourScales(40, 1, 212.992556401453)] then your extents aren't what you think they are.
Visualize Your Data
support@dplot.com
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

Post by guibson »

I was having 1.9.9.2 Beta.
Downloaded and installed 2.0.0.1

Still not able to use the ManualScale for this element when used in the X axis.

So right now, I'm testing for the X element and if this is the one I have trouble with then I do not send a command for a ManualScale

Don't know what to do !
________
Medical marijuana card
Last edited by guibson on Fri Feb 11, 2011 10:51 pm, edited 1 time in total.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Perhaps I'm confused, but if your actual extents are what you said they are, why do you want to use the ManualScale command with those same values? Without using ManualScale the plot extents are very close to those same numbers, right?
Visualize Your Data
support@dplot.com
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

Post by guibson »

You're right about the extents that are very close to the values we have.

I forgot to tell you in my last post that now I'm having a graph with the new version.

And for now consider the topic as closed because for I will test for the X element and when it is the one we're having trouble with then I won't use the manual scale.

Thank you for your time
________
Suzuki boulevard s83 history
Post Reply