Menu

xrange beyond 10^10 not working

Help
2004-03-18
2004-03-18
  • Agnar Řdegĺrd

    Agnar Řdegĺrd - 2004-03-18

    Hi, I need to plot some values reaching up to 10^12 but it refuses to plot higher than 32bit/2 which is a few 10^9. I compiled v3.8k from source. Is it possible?

    this:
    set xrange [1:10000000000000000000]
    show xrange
    produces this:
    set xrange [ 1.00000 : 2.14748e+09 ] noreverse nowriteback

    I appreciate all help. Thanks.

     
    • Hans-Bernhard Broeker

      Your problem is not one of the xrange per se, but of how you write those large numbers.  If you had written

          set xrange [1 : 1e12]

      all would have been well.  gnuplot behaves like most programming language: it'll try and interpret numbers written without both a decimal point and an exponent as integers.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.