<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Dear metapost list,</div><div><br></div><div>I use frequently metapost. Just now I am plotting a function</div><div>that takes values in a large range. I computed the values and put something of the sort:</div><div><br></div><div><div>m=40000</div><div>u=4cm;</div><div>m*v=10cm;</div></div><div><br></div><div>draw (-6.0888878u, -26334.45476v)..(-6.0666656u, -18845.38216v)..(-6.0444434u, -11996.72051v).. etc ..(-8.96578u, -38592.46295v)</div><div><br></div><div>and get the error </div><div>!Enormous number has been reduced</div><div>l.6 m=40000</div><div><br></div><div><font class="Apple-style-span" color="#FF7754">I know the solution is to scale the function. </font> Then I have not need to </div><div>use so large numbers.</div><div><br></div><div>But then the file "function.mp" does not contain the true values of the </div><div>function. </div><div><br></div><div>For example, in this case I want to use the same values in the next </div><div>plot, in which along this we put another segment of the function that </div><div>need a value of m=80000.</div><div><br></div><div>Also in the future the file function.mp can be used to give approximately</div><div>the extreme values of the function. Instead of reading the values, we must</div><div>re-scale them with the possibility of error.</div><div><br></div><div>It is so difficult to give a reasonable arithmetic to metapost? Or, alternatively, is there a way to do what I want?</div><div><br></div><div>Excuse my English,</div><div>Best regards, </div><div>Juan Arias de Reyna</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>