Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does gnuplot ignore my very small numbers?

gnuplot Numbers small
0
Posted

Why does gnuplot ignore my very small numbers?

0

Gnuplot treats all numbers less than 1e-08 as zero, by default.

0

Gnuplot treats all numbers less than 1e-08 as zero, by default. Thus, if you are trying to plot a collection of very small numbers, they may be plotted as zero. Worse, if you’re plotting on a log scale, they will be off scale. Or, if the whole set of numbers is “zero”, your range may be considered empty: gnuplot> plot ‘test1’ Warning: empty y range [4.047e-19:3e-11], adjusting to [-1:1] gnuplot> set yrange [4e-19:3e-11] gnuplot> plot ‘test1’ ^ y range is less than `zero` The solution is to change gnuplot’s idea of “zero”: gnuplot> set zero 1e-20 For more information, gnuplot> help set zero Q7.4: Gnuplot is plotting nothing when run via gnuplot !

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123