[Thread Prev][Thread Next][Index]

Re: [ferret_users] degrees without "E", "W", ?



Hi Ryo - the following produces tha label you want using the Ferret font indexical_math:

yes? ppl xfor,(i5,''@im09'')

For some reason the XFOR specification expects a 5-digit numerical value. 
Thus the following also works for fractional degree labels, noting that however your email tool interprets the quotes, these are => 2 single quotes on each side of the symbol specification:

yes? ppl xfor,(f5.1,''@im09'')

For the data I tested, this produces labels like "150.0°".

It appears that any ferret font character can be used. E.g.
yes? ppl xfor,(f5.1,''@im62'')   ! writes an ampersand after the number.

Billy


On Wed, Nov 8, 2023 at 12:25 AM Ryo Furue <furue@xxxxxxxxxx> wrote:
Hi Ferret users,

I searched the documentation and the email archive but haven't been able to find it: I'd like to have longitude or latitude axis numeric labels without "E", "W", etc.

I've constructed a composite along a moving object.  So, the horizontal axis is a relative longitude or latitude from the object. So, I shouldn't have "E" or "S" etc.  On the other hand, I'd like to have degree symbols.

Is such a functionality already available?

I guess something like

  ppl xfor (I,"°")

or

   ppl xfor (I, "<&deg;>")

would be nice.  (Currently, both result in an error.)

Ryo


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

Privacy Policy | Disclaimer | Accessibility Statement