Change the precision in Ipython

  • Context: Python 
  • Thread starter Thread starter mahya
  • Start date Start date
  • Tags Tags
    Change Precision
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 4K views
mahya
Messages
7
Reaction score
0
I want to plot an exponential function in Ipython, something like y=exp(x^0.53). But for small values of "x" it plots a straight line. Actually it plots the first terms of taylor expansion. How can I make it to give me curve for all values of x in my defined range? Should I change the precision or something else?
 
Physics news on Phys.org
What exactly are you trying to plot?
That function will be pretty flat in some ranges.