GDL程序在Ubuntu中转换为ps文件

时间:2018-07-23 13:26:56

标签: ubuntu gdl

我在Ubuntu终端中编写了一些GDL实践代码。但是home/usr/Documents/GDL/

中没有sample.ps文件
X = findgen(200) / 100 * !PI
Y = sin(X)

set_plot, 'ps'
device, filename = 'home/usr/Documents/GDL/sample.ps'

plot, X, Y, title = 'Y = sin(X)', xtit = 'x',ytit = 'Y'
device, /close
set_plot, 'win'

end

当我在Windows中运行此代码时,没有任何问题。 我不知道是什么问题。有谁能解决这个问题?

0 个答案:

没有答案
相关问题