[Thread Prev][Thread Next][Index]

Re: [ferret_users] Bug with annotate command



Title: Signature
Hi Bruno,
Thank you for writing.  This problem is fixed in the upcoming Ferret/PyFerret release.  The evaluation of numbers such as `10*1.1*COS(270*3.14159/180)` returns an unfortunately large number of digits and an internal issue came up with how the annotate command handles that.  It is now handled in a more robust way.

Ansley

On 4/19/2019 5:24 AM, Bruno Levier wrote:
Hi

This is my script:

Plot /Nolab /i=1:10 /Hlim=-10:10 /Vlim=-10:10 i
Annotate/Xpos=`10*1.1*COS(270*3.14159/180)`/Ypos=`10*1.1*SIN(270*3.14159/180)`/Halign=0/Valign=0/Size=0.20 "S"

Ferret is frozen.

Using less precision, it works:
Annotate/Xpos=`10*1.1*COS(270*3.14159/180),P=-4`/Ypos=`10*1.1*SIN(270*3.14159/180)`/Halign=0/Valign=0/Size=0.20 "S"

I use Ferret v7.43.

Bruno

--
--
Ansley Manke
NOAA/PMEL Science Data Integration Group
7600 Sand Point Way NE
206-526-6246

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement