问题标签 [xmgrace]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1514 浏览

xmgrace - 如何在 xmgrace 批处理文件中设置不同的字体

如何在批处理文件中将xaxis,yaxis label和的字体更改title为(例如arial) ?xmgrace

0 投票
1 回答
914 浏览

python - xmgrace 中的文本框(最好使用 GracePlot.py)

我目前正在使用 GracePlot.py 从 python 中绘制带有 xmgrace 的图形,我想在图形中进行文本注释并将它们放在一个框中,以便在网格打开时便于阅读。

有人知道如何使用 GracePlot.py 吗?还是来自 xmgrace GUI?

我使用的代码类似于以下内容:

0 投票
0 回答
64 浏览

macos - 无法在 VMD 和 xmgrace 中可视化

我是计算生物学的新手。我正在使用鬼脸来模拟蛋白质。我尝试在 VMD 中可视化蛋白质,但失败了。VMD 打开,但是当我选择 .pdb 文件并单击上传时,我看不到蛋白质。同样,我可以创建 .xvg 文件。但是当我尝试在 xmgrace 中打开它时,我得到了一个没有绘图的图表。

我错过了一些图书馆或其他东西吗?

我正在使用 Mac OS X 优胜美地

预先感谢您的帮助

0 投票
1 回答
434 浏览

pdf - Converting postscript to a4 format pdf

I'm trying to convert a .ps file made with xmgrace (it's a curve of data as you can guess) but when I convert using ImageMagick via the convert command or ps2pdf with the options -format a4 or -sPAPERSIZE=a4 I end up with the same problem.

Actually the image ends up in the top left corner of my .pdf file while almost 3/4 of the page stays blank. I would like to resize it so it takes the whole page.

In the print setup of xmgrace, I used both the A4 format and a custom default I had 2262x1729 pix and both ended up with the same result.

The header of the .ps file is as follow:

I saw that touching the bounding box limits could be a way but it seems risky and doesn't solve the problem as I'll have to do it with every single file... Our machines runs on RedHat and actually, my supervisor (compiling and using the same machine) has no problem like mine and can't tell me why.

I suspect my terminal settings to be part of the problem but I'm not sure.

EDIT: Thank you KenS for the answer. I actually managed to use gs to solve my problem regarding the output i got but I also found that using .eps outputs from xmgrace and epstopdf (instead of .ps and ps2pdf as my supervisor does) also solves the problem in an other way. .ps outputs from xmgrace are tricky to use due to (in my initial guess) terminal configuration so I guess I won't use them again.

0 投票
1 回答
375 浏览

fft - 在命令行启动时对 xmgrace 中的数据执行 FFT

我有一个 bash 脚本,它具有通过 xmgrace 读取输入文件的功能。它读取所有内容并正确格式化窗口。我还希望它在读入数据后立即自动执行 FFT,而不是像我一直在做的那样单击所有 GUI 选项。我怎样才能做到这一点?

0 投票
1 回答
955 浏览

batch-file - 如何在 xmgrace 中求和光谱?

我有一个 xmgrace 的批处理文件。当我绘制多组电压信号测量值时,批处理文件对它们进行傅里叶变换并将它们移动到不同的图形中。我想在批处理文件中添加一个命令,它将对傅里叶变换的频率图求和。我的意思是我希望 xmgrace 将每个 x 值的所有数据集的 y 值相加。所有数据集的长度相同。有没有办法做到这一点?

0 投票
1 回答
593 浏览

file - xmgrace .agr 文件命令

我正在尝试编写一个程序,该程序将生成可以在 xmgrace 中加载和操作的 .agr 文件。我已经剖析了一个示例文件,该文件具有我正在寻找的那种格式,但我不能 100% 确定每一行的作用。许多命令在大多数情况下都是不言自明的,但是是否有一个指南可以用来参考一些比较晦涩的行,例如@reference date 0, @default sformat "%.8g",@r0 off等?

我浏览了用户和开发人员部分的 Grace 网站,并在谷歌上搜索了各个行,但运气不佳。我要找的基本上是man一页 xmgrace .agr 文件。底层细节越多越好。

任何帮助,将不胜感激!

0 投票
0 回答
56 浏览

python - 发现在 xmgrace 中绘制 grap 的类型错误

当我运行命令以GracePlot使用Python. 请告诉我我该如何解决?

0 投票
1 回答
5517 浏览

macos - 如何为 X11 应用程序(例如 xmgrace)设置默认启动窗口大小

我一直在尝试运行该.Xresources方法,但没有成功(请参阅 相关问题的评论)

那么我需要修改什么以确保我的 Xmgrace 窗口具有特定大小?当我运行xmgrace myplot.agr它时,它总是以 680x700 的窗口结束。我想将它设置为不同的东西,因为我总是不得不调整大小和单击滚动(Xmgrace 不喜欢滚轮)。

欢迎任何想法或想法。

0 投票
1 回答
1762 浏览

xmgrace - Xmgrace:使用误差线进行线性回归

问题很简单:如何在 Xmgrace 上使用误差线进行线性回归?我知道我必须将数据加载为 XYDY(我的文件是一个 3 列文件,第三列有 y 错误),但我只是不知道如何告诉他在执行线性回归时使用误差线.