X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Oct 2013 07:39 AM by  anon
Change default font for plot function
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:20
New Member


--
03 Oct 2013 07:39 AM
    Hi, Is there a way to change the default font variables for the plot function? I know that this does the trick: "For IDL's Graphics functions, use the FONT_NAME and FONT_STYLE keywords to select the font." But I'd rather change it once, then using these keywords every time I want to plot something. Thanks in advance, Wouter Schellekens

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Oct 2013 12:36 PM
    Hi Wouter, What do you think about this example: p = PLOT(/TEST, FONT_NAME='Helvetica', TITLE=STRING(176B + 5B) + 'm') p.FONT_NAME='Courier' Basically, a functoin property is actually a "method" that can be called using the object handle "p". Then, you can change the property anytime you want in your code. Cheers! fernando

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Oct 2013 12:38 PM
    Also, there is more information here about fonts in IDL: http://www.exelisvis.com/docs/Using_T... for example. Cheers, fernando
    You are not authorized to post a reply.