Write the code and run the IDL entry ||

1 batch mode

         New batch file aaa (file contains only the commands without PRO, END keywords, etc.); the batch file in the current directory (you can use the CD, "path" command); using @ aaa (for the batch file name ) command to call the batch file.

Example:

data = sin(arr/20);
window,2,xsize=400,ysize=300,title='plot sin'
plot, data

Guess you like

Origin www.cnblogs.com/yhpan/p/12085067.html