comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » contour and LABEL_FORMAT not playing nicely
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: contour and LABEL_FORMAT not playing nicely [message #90769 is a reply to message #90767] Mon, 13 April 2015 20:54 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Friday, April 10, 2015 at 2:28:11 PM UTC-6, Gordon Farquharson wrote:
> I'm stumped. What am I doing wrong?
>
> contour(findgen(10,10), LABEL_FORMAT='format_deg_label')
>
> where format_deg_label.pro contains
>
> FUNCTION format_deg_label, axis, index, value, DATA=data
>
> return, strtrim(string(value, FORMAT='(I)'), 2) + ' deg.'
>
> END
>
> What I expect to see is that each contour label is suffixed with "deg.". What I get is none of the contour labels have a suffix, and the first three labels are displayed in a slightly larger font than the last two.
>
> I'm using IDL 8.4.1.
>
> Gordon

Hi Gordon,
I see the same behavior. I'll dig into the code and see what is happening. Thanks for reporting it!
-Chris
ExelisVIS
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: My IDL 8.4 crashes on HELP,/LAMBDA command
Next Topic: Default values for keywords

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:48:31 PDT 2025

Total time taken to generate the page: 0.00433 seconds