台地或回转体的快速绘图

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第三方库


热门话题
值为ArrayList的java ConcurrentHashMap   使用SpringRESTTemplate的java Post多部分(PDF)文件   如果数据太小,Java刷新进程的输出流不会立即发送数据   游戏物理Java:玩家移动错误   java使用小型数据类型是否会减少内存使用(从内存分配而不是效率)?   java如何在SeleniumWeb驱动程序的类属性中验证映像   java使用Maven汇编插件设置Linux文件权限,即使在其他平台上运行?   java我需要在一个对象中保存一个mp4文件,以便将其存储在链接列表中。可能吗?   java删除组织中的重复项。dom4j。文档对象   java组织。冬眠LazyInitializationException:无法初始化没有会话5的代理   java使用JFileChooser允许Swing用户指定输出位置   java JFreeChart,如何重新缩放yaxis   java响应头GAE端点   java安卓:更改视图大小