DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plots with very small y values

 
Post new topic   Reply to topic    DPlot Forum Index -> Basic
View previous topic :: View next topic  
Author Message
asanture



Joined: 04 Jan 2007
Posts: 1

PostPosted: Thu Jan 04, 2007 10:56 am    Post subject: Plots with very small y values Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Thu Jan 04, 2007 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Basic All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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