View previous topic :: View next topic |
Author |
Message |
asanture
Joined: 04 Jan 2007 Posts: 1
|
Posted: Thu Jan 04, 2007 10:56 am Post subject: Plots with very small y values |
|
|
Hi there,
I've been using DPlotJr to plot likelihoods for different configurations across iterations (ie using _AddData each iteration). When I have "reasonable" likelihoods of the order 1xe^-40 DPlot plots beautifully, but with very small likelihoods of the order 1xE^-80 DPlot seems to read every y value as zero and plots accordingly. Can you please tell me the minimum y value that DPlot will accept?
Thanks for your help!
Anna |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Thu Jan 04, 2007 2:33 pm Post subject: |
|
|
You should use DPlot_AddData8 rather than DPlot_AddData, and use Double for your data rather than Single. It is actually your program that is truncating the data, not DPlot Jr or DPLOTLIB.DLL. The range in magnitudes for 4-byte floating point numbers (VB's Single) is ~1.175E-38 to ~3.402E+38. For 8-byte floats (Double) the range is ~2.225E-308 to ~1.798E+308. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|