台地或回转体的快速绘图

qpmg的Python项目详细描述


usage: qpmg [-h] [-x X [X ...]] [-y Y [Y ...]] [--xlabel XLABEL [XLABEL ...]]
            [--ylabel YLABEL [YLABEL ...]] [--legend LEGEND [LEGEND ...]]
            [--style STYLE] [--title TITLE [TITLE ...]]
            [--style-file STYLE_FILE]
            filenames [filenames ...]

qpmg是一个简单的python脚本,用于快速检查遵循 Mesa的简介和历史以及Gyre的摘要和模式使用的格式 文件夹。虽然qpmg提供了一些选项,但它是用于快速检查的 而不是出版高质量的情节。查看中可用列的列表 一个文件,对给定的文件运行qpmg。默认值将导致错误 显示可用列。

位置参数:filenames

可选参数:

-h, --helpshow this help message and exit
-x X, -y YColumn(s) to use for the x and y variables. The code loops through however many x and y keys you give (inner loop over x, outer loop over y) but most of the time you probably only want one x variable.
--xlabel XLABEL, --ylabel YLABEL
Overrides the axis label with the given string. Accepts spaces. i.e. ‘effective temperature’ is OK. Default is to use the first argument of ^{tt5}$/^{tt6}$.
--legend LABELS
If ^{tt7}$, add a legend using the filenames as keys. Otherwise, use the arguments as a list of keys. Default is no legend.
--style STYLEpoint style, passed to plot function (default=-)
--scale-x SCALE_X
multiply variables on x-axis by this much (default=1)
--scale-y SCALE_Y
multiply variables on y-axis by this much (default=1)
--flip-xreverse the x-axis
--flip-yreverse the y-axis
--plotter PLOTTER
use ^{tt8}$ to plot (one of ^{tt9}$, ^{tt10}$, ^{tt11}$ or ^{tt12}$, default=plot)
--title TITLEAdds the given title to the plot. Accepts spaces. i.e. ^{tt13}$ is OK. Default is no title.
--style-file STYLE_FILE
Specifies a matplotlib style file to load.

安装

qpmg可通过pip

pip install qpmg

您还可以克隆此github repo:

git clone https://github.com/warrickball/qpmg.git
cd qpmg
pip install -e .

或类似的。

最后,程序完全被限制在脚本qpmg中, 所以你可以下载这个文件,然后随意使用。为了 例如,我将$HOME/.local/bin保存在$PATH变量中,因此 可能使用

获取脚本的最新版本
wget https://raw.githubusercontent.com/warrickball/qpmg/master/qpmg -O $HOME/.local/bin

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java计时器结束得太早?   java通过行选择编辑jtable内容   java如何将数组的值传递给另一个类?   java对象。hashCode()算法   代号为1且lambda不工作的java Android本机代码   泛型Java方法签名中是否真的需要“?扩展”?   异常处理声纳问题“main”不应“抛出”任何JAVA 7   java无法使用MVEL导入静态方法   java什么是类路径容器?   java从InputStream解码字节   Eclipse重构仅限Java   java使用Qpid通过SSL与AMQP1.0代理通信   java有没有一种方法可以在Oracle中使用带有时区的时间戳作为函数输入   保存文件时运行安卓 lint的java出错   尽管添加了JScrollPane,java JList视图区域仍在增长   java计算第n个浮点   java如何在mysql中插入日期?   GWT中异步回调的java问题