- 积分
- 2180
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-12-26
- 最后登录
- 1970-1-1
![未绑定新浪微博用户 新浪微博达人勋](source/plugin/sina_login/img/gray.png)
|
发表于 2013-1-7 08:32:40
|
显示全部楼层
我也是IDL初学者,我保存PS文件的程序是:
entry_device=!d.name ;将默认输出设备设置到entry_device变量中
set_plot,'PS';将输出设备指定为PS文件
psfile='/home/liuql/Result/rate.ps' ;指定文件保存路径和文件名
device,filename=psfile
plot,Tw,Mw,/nodata,xstyle=4,ymargin=[3,5],yrange=[5,40],ystyle=1,ytitle='M'
axis,xaxis=0,xrange=[-10,10],/save,xtitle='R/(C/km)(zhongyangcha)'
oplot,Rate,Mw,linestyle=0;,color='0000FF'XL;绾㈣壊
oplot,con,Mw,linestyle=1;,color='00FFFF'XL;榛勮壊
axis,xaxis=1,xrang=[-100,10],/save,xtitle='T/(C)'
oplot,Tw,Mw,linestyle=2
xyouts,0.5,0.95,i+1,/normal,alignment=0.5
device,/close_file ;关闭PS文件,
set_plot,entry_device ;将输出设备还原为默认输出,
|
|