X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 Feb 2011 01:08 AM by  anon
IDL 8.0 contour wrong label!
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
20 Feb 2011 01:08 AM
    Hi, guys: When I use the new contour function, RESTORE, FILEPATH('marbells.dat', SUBDIRECTORY=['examples', 'data']) cntr = contour(elev, c_value=[3000.], /C_LABEL_SHOW) and the contour label shows 2500. How can I fix this problem? very thanks!

    Deleted User



    New Member


    Posts:
    New Member


    --
    16 Mar 2011 05:15 AM
    The same happens to me and, I guess, to everybody. Whatever the level values are, the labels are always something like -500,0,500,1000,1500, .... I suspect it's a serious bug in the function. Maybe somebody could fix that? Thank you

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Mar 2011 01:50 PM
    Hi there, Please, try the following: mycontour=contour(hanning(80,80),C_VALUE=[0.7,0.8],font_size=8) mycontour.c_label_show=[1,1] In other words, use the C_LABEL_SHOW not inside the call to the CONTOUR function, but after the initialization of that function, ie. in the previous example, the line: mycontour.c_label_show=[1,1] Or in your example it will be: cntr.c_label_show=[1] Cheers, Fernando
    You are not authorized to post a reply.