返回列表 发布新帖
查看: 19|回复: 0

[Shelx/Olex2] Olex2中背景颜色设置

908

帖子

998

积分

19

金币

版主

积分
998
发表于 前天 06:50 | 查看全部 |阅读模式
Olex2中背景颜色设置
Olex2中关于背景颜色的设置在很多教程资料中均可找到,例如美国西北大学(NorthwesternUniversity)化学系(Departmentof Chemistry)Amy A. Sarjeant编写的《StructureSolution and Refinement with Olex2: A guide for Chem 435 Students》手册(该手册可在小木虫或豆丁网上下载到)中对于Olex2中背景颜色设置描述如下:
Totoggle the background colors:
a.Press F2 to toggle between solid blue and solid white
b.Press F4 to toggle between gradient and solid white or blue.
c.To change the colors of the background, at the command prompt type “grad” andpress <enter>. This will pop up a dialog box that will allow you tochoose the colors for the four corners of the image window. This may require arestart of Olex2 to take effect. Typing “grad –p=filepath” where “filepath” is the path to an image file, will setthe background to that image (stretched to fit). This requires a restart totake effect. To get rid of the image, type “grad –p” at the command prompt andpress <enter>.
d.The default color for the background is given by the values below, in case youneed to get back to it.
The values for thedefault color in Olex2
Olex2中默认纯色背景(solid backgroundcolor)有纯蓝色(solidblue)和纯白色(solidwhite),可以通过F2键在这两个颜色之间切换(toggle),如下图所示:
当然了,纯色背景可以设置成别的颜色,在背景处单击鼠标右键,在弹出的菜单栏Drawstyle展开栏中点击SceneProperties,会弹出一个Scene Parameters对话框,在Light model下有一个background color,双击其后的颜色显示方框,即下图红色箭头所示:
在弹出的颜色对话框中设置背景颜色,例如给它一个粉红色的背景:
在默认设置下,打开Olex2时,背景是一个渐变色的背景(gradientbackground),即如下图左所示,F4键可以在渐变背景与纯色背景之间切换:
渐变背景也可以设置不同的渐变色,在指令输入区键入指令“grad”并回车,系统会弹出一个Gradient对话框,在该对话框中可以设置上左(Top Left)、上右(Top right)、下左(Bottom left)以及下右(Bottom right)四个角落(corner)的颜色:
例如将四个角落设置成如下所示颜色,其效果如下图所示:
背景颜色可以根据自己需要进行设置,如需回到默认设置,则只需要在命令输入区键入指令“default”并回车即可:
如需PDF文档,请从以下链接下载:
通过网盘分享的文件:Olex2中背景颜色设置.pdf



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  • 微信小程序
  • 公众号
  • 微信客服

关于我们|Archiver|APP客户端|小黑屋|物质结构社区 ( 闽ICP备2024081439号-1 )

GMT+8, 2025-6-7 03:35 , Processed in 0.015348 second(s), 6 queries , Redis On.

Powered by Discuz! X5.0

© 2001-2025 Discuz! Team.

在本版发帖
科研需求联系客服
添加微信客服
返回顶部
快速回复 返回顶部 返回列表