科学网

 找回密码
  注册

tag 标签: idl画图椭圆

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

idl画椭圆
zgyin 2013-12-9 02:30
参考李会贤老师的博文: 使用IDL语言画图的一些记录 idl画椭圆需要程序ellipse.pro ellipse可以在 http://www.astro.washington.edu/docs/idl/idllib/jhuapls1r/ 中找到 我采用 wget 将目录jhuapls1r下包含的所有文件下载下来: wget -c -r -np -k -L -p http://www.astro.washington.edu/docs/idl/idllib/jhuapls1r/ 将软件包jhuapls1r用idl加载上就可以啦。下面的这个小程序可做为画椭圆的模板。 pro test LoadCT, 40, NColors=100, Bottom=1, /Silent set_plot,'PS' filename='/root/test.eps' ; 设置输出的文件目录 device,file=filename,/ENCAPSULATED,/COLOR, BITS=8,xsize=200,ysize=200 a=5.0 b=30.0 tilt=20;y轴逆时针旋转到与b轴重合的角度 a1=0 a2=360 x0=50.0 y0=50.0 plot, ,/nodata,charsize=1.5,charthick=1,xtitle='x',ytitle='y',xrange= ,yrange= ,xstyle=1,ystyle=1 ellipse, a, b, tilt, a1, a2,x0,y0,color=99 device,/CLOSE print,'program end' end 下面是画出来的图
个人分类: idl使用方法|5553 次阅读|0 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-16 03:47

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部