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.

My formulas are giving me nonsense results! Whats going on?

0
Posted

My formulas are giving me nonsense results! Whats going on?

0

Gnuplot does integer, and not floating point, arithmetic on integer expressions. For example, the expression 1/3 evaluates to zero. If you want floating point expressions, supply trailing dots for your floating point numbers. Example: gnuplot> print 1/3 0 gnuplot> print 1./3. 0.333333 This way of evaluating integer expressions is shared by both C and Fortran. Q7.6: My Linux gnuplot complains about a missing gnuplot_x11.

Related Questions

What is your question?

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

Experts123