X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 May 2006 01:15 PM by  anon
How to produce some latex symbols like \overline{X} ?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
02 May 2006 01:15 PM
    I find the textoidl package can not do this. If i do something like : " a=textoidl('\overline{X}') plot,findgen(100),title=a " It just give the title of the plot to be "\overline{X}". What I really want, however, is the title to be "X" with a dash over it So, how could I do that ? Any solution will be highly appreciated. Binbin Zhang China

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 May 2006 01:15 PM
    In IDL Direct Graphics the way to produce formatted characters like the "bar-X" is with what IDL calls "Embedded Formatting Commands". To see the syntax rules for these commands see the Online Help Index topic 'format codes -> embedded in IDL strings'. The syntax is not easy to understand from its rules alone, but the examples shown in the link for "Formatting Command Examples" are very helpful. Here is one kind of format that should accomplish the "overline" graphic you are seeking. IDL> xyouts, 0.5, 0.5,'!S!A-!R!NX !S!A-!R!NY !S!A-!R!NZ', /NORMAL This example displays a bar-X, bar-Y and bar-Z in sequence.
    You are not authorized to post a reply.