X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Oct 2006 04:40 PM by  anon
labelling data in 2-d plot
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
11 Oct 2006 04:40 PM
    Dear helpers, I am trying to label data displayed in 2-d plot. Could you tell me how to do it. Thanks,

    Deleted User



    New Member


    Posts:
    New Member


    --
    11 Oct 2006 04:40 PM
    Do you mean labeling individual data points in a plot? I can give you an example of that in the simplest possible Direct Graphics code: seed = 1L x = findgen(10) y = randomu(seed, 10) * 100.0 plot, x, y labels = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN' , 'JUL', 'AUG', 'SEP', 'OCT'] xyouts, x, y, labels, ALIGNMENT=0.5 James Jones
    You are not authorized to post a reply.