X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 18 Aug 2014 01:40 PM by  anon
PLOT routine in IDL 8.3 changes font to greek when the axis label is an exponential.
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:1
New Member


--
18 Aug 2014 01:40 PM
    There seems to be a new feature/bug in IDL 8.3, when using the PLOT routine with axis-labels that are typeset as exponentials. In older IDL versions (in my case IDL 8.2), the exponential was typeset as a number, a bullet (•) and then the exponential, e.g. '1.0•106'. Since IDL 8.3 it is typeset as a number, a times-symbol (×) and then the exponential, e.g. '1.0×106'. As a consequence it seems that all following text is in the greek font. However, this seems to be only the case when plotting to a PS file and when using the device font. A minimal working example is the following: !p.font = 0 set_plot, 'PS' device, file='idl.ps' plot, [0.,1.], [0.,1.e6], /nodata xyouts, 0.1, 0.2*!y.crange[1], 'This text now uses the greek font.' xyouts, 0.1, 0.5*!y.crange[1], '!3This text is again in the normal font.' device, /close Is there any way to avoid this behaviour?

    Deleted User



    New Member


    Posts:81
    New Member


    --
    05 Sep 2014 07:50 PM
    Hi Konrad. This problem appears to be fixed in the next release of IDL, expected within the next few months. For IDL 8.3, the only workaround that I do know about is to use the "!3" embedded format code, as you are using in the second call to XYOUTS in your example. Regards -Jim (Exelis VIS)
    You are not authorized to post a reply.