2

I have a question about the plotting. I want to plot some data between ranges :

3825229325678980.0786812569752124806963380417361932 and 3825229325678980.078681262584097479512892231994772

but I get the following error:

Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=3.82522932568e+15, top=3.82522932568e+15

How should I increase the decimal points here to solve the problem?

2
  • If you fit one of the answers attend you needs you can accept them clicking on the arrow besides it or upvote them clicking on the up-arrow Commented Aug 7, 2013 at 14:03
  • also... you get +2 reputation for each accepted answer that is not yours... Commented Aug 7, 2013 at 14:05

2 Answers 2

6

The difference between your min and max value is less than the precision an eps of a double (~1e-15).

Basically using a 4-byte floating point representation you can not distinguish between the two numbers.

I suggest to remove all the integer digits from your data and represent only the decimal part. The integer part is only a big constant that you can always add later.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, in python it did not work, but for producing my initial data, I did it, and it seems nice now.
0

It might be easiest to scale your data to provide a range that looks less like zero.

1 Comment

It's not a problem of scale, it's a problem of precision.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.