Previous Getting Started with IDL: 2-D Plots Next

Other Plotting Capabilities

Now add titles to the simple plot graph using the TITLE, XTITLE, and YTITLE keywords. Using these simple keywords, IDL allows you to add a title to your plot as well as descriptive titles for your X and Y axis.

  1. Plot with titles:
  2. PLOT,PLOT_ASCII.TIME,PLOT_ASCII.Temperature1, $  
       TITLE='Temperature Over Time', $  
       XTITLE='Time in Seconds', YTITLE='Temperature Celsius'  
    

     

    Figure 4-7: Adding Titles to a Plot Using TITLE, XTITLE and YTITLE

    Figure 4-7: Adding Titles to a Plot Using TITLE, XTITLE and YTITLE

  IDL Online Help (March 06, 2007)