Creating Graphs in Procedure

Hi, I'm new here and to Igor! Can I write a procedure to create a graph? All I have found was printing graphs. I didn't know if there was a function similar to MATLAB's plot function. Thanks! Michelle
The Display, AppendToGraph and ModifyGraph operations can be used in a procedure to create a graph.

For a discussion of creating graphs programmatically, execute this:
DisplayHelpTopic "Loading Waves Using Igor Procedures"


Read that section and the following sections such as "Loading and Graphing Waveform Data" and "Loading and Graphing XY Data".

If you have not already done it, I recommend doing the first half of the guided tour first. Choose Help->Getting Started.