⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plot.xm

📁 一个很好的分子动力学程序
💻 XM
字号:
########################################################################                                                                     ##  Example:  Making a PLOT                                            ##                                                                     #########################################################################                                                                     ##    XMD can produce plots on Postscript or Canon Laser printers.     ##  This example generates a B2 lattice and prints two different       ##  plots.  In the first example, some of the atoms are displaced,     ##  and the original atoms are plotted along with "tails" showing the  ##  displacements.  The second plot prints the original atoms with     ##  bonds connecting those atoms separted by a 2nd neighbor distance   ##                                                                     ###########################################################################  Make B2 lattice#box 4 4 4particle 21  0.25 0.25 0.252  0.75 0.75 0.75dup  3  1 0 0dup  3  0 1 0dup  3  0 0 1##  Save original positions as reference step#refstep##  Displace some atoms#select box 1 1 1 3 3 3move 0.125 0.125 0.0##  Exchange current step (the displaced atoms) and original positions#refstep swap##  Set up plot parameters required by both plots## Postscript Printerplot device postscript# Number of pagesplot page 1# Number of layersplot layer 4# Orientation of plot (vertical axis y, horizontal axis x)plot orient y/x# Atom symbolsselect type 1plot symbol fill cir 0.125select type 2plot symbol      cir 0.25##  1st Plot: displacement plot with tails## Use displacementplot disp on# Plot labellabel 1This is an example of a displacement plot (with tails).# plot to output postscript fileplot write plot.ps##  2nd Plot: Bond plot## Shut off displacementsplot disp off#  Turn on bondsplot bond on 0.0 2.25# Plot labellabel 1This is an example of a bond plot.# append plot to end of postscript fileplot write +plot.ps

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -