没有项目描述
Textyplot的Python项目详细描述
textyplot
===
简单、轻巧的项目,仅用文本绘制图表。
[![Codacy徽章](https://api.codacy.com/project/badge/grade/b61f81c2d568445fb297b1f6caff8d6)(https://www.codacy.com/app/michaelkrukov/textyplot?utm_source=github.com&;utm_medium=推荐&;utm_content=michaelkrukov/textyplot&;utm_campaign=badge_grade)[![构建状态](https://travis-ci.org/michaelkrukov/textyplot.svg?branch=master)(https://travis-ci.org/michaelkrukov/textyplot)[![Codacy徽章](https://api.codacy.com/project/badge/coverage/b61f81c2d568445fb297b1f6caff8d6)(https://www.codacy.com/app/michaelkrukov/textyplot?utm_u source=github.com&;utm_u medium=referral&;utm_u content=michaelkrukov/textyplot&;amp;UTM U Campaign=Badge U Campaign=Badge U Campaign=Badge U Campaign)
>功能
==
=
=
*快速
*简单
*使用Python 3支持缩放和调整视图。
*使用UTF-8()的文本图形
*支持Python3+
>安装
====
>建议使用PIP来安装/更新安装/更新。
<
<
至安装:
````
=
```
导入文本打印
=textyplot.plotter(points,width=80,height=8)
plotter.show(
zoom=true,data=true,border=true,
color=false,fill=true,zero=true,
html=false,stretch=true
plotter.save(“file.txt”,border=true)
html=true)
````
代码示例
===
```
import textyplot
plotter=textyplot.plotter([1,2,3,4,5,3,2,1],width=80)
plotter.show()
plotter=textyplot.plotter(i表示i在范围(100)内)
plotter.show()
```
![结果](/docs/code0.png)
```
import textyplot
plotter=textyplot.plotter((i代表i在范围(100))内,宽度=50)
plotter.show(color=true,fill=false)
``
![结果](/docs/code1.png)
```
import textyplot,math
plotter=textyplot.plotter((math.sin(i/5)*5代表i in range(100)),width=50)
plotter.show(color=true,fill=false)
```
![结果](/docs/code2.png)
```
import textyplot,math
plotter=textyplot.plotter((math.log(i)for i in range(1500)),width=80)
plotter.show(color=true,fill=false)
```
![结果](/DOCS/CODE3.PNG)
‘BR/>导入文本图,随机
BR/>最大值=48 Br/>绘图仪=文本图。绘图仪(
随机。)(最大/ 2 - ABS(最大/ 2 - I))I范围(最大值)
)BR/>绘图仪。显示(颜色=真)
` BR/>![结果](/docs/code4.png)
-帮助显示此帮助消息并退出
-Z,没有缩放缩放图(默认:是)-BR/> -B,没有边框绘制边界(默认:是)-BR/> -D,没有数据绘制值(默认:是)-BR/> -C,没有颜色使用颜色(默认:是)-BR/> -F,没有填充填充图(默认:是)
-G,-没有群绘制零线(默认值:是)
-h,--html渲染为html(默认值:否)
-s,--拉伸点到宽度
-r,--反向点
-x字符,--宽度字符
绘制最大宽度(默认值:80)
-y字符,--高度字符
绘图高度(默认值:8)
```
extyplot``
![示例1](/docs/cmd1.png)
````./bin/random 100 python textyplot-c``
![示例2](/docs/cmd2.png)
````./bin/random 10 python textyplot-x 80```
![示例3](/docs/cmd3.png)
````./bin/random 10 python textyplot-x 80-s```
![示例4](/docs/cmd4.png)
````./bin/random 400 python textyplot```
![示例5](/docs/cmd5.png)
``python./bin/bitcoin.py python textyplot-f 50```
![示例6](/docs/cmd6.png)
===
简单、轻巧的项目,仅用文本绘制图表。
[![Codacy徽章](https://api.codacy.com/project/badge/grade/b61f81c2d568445fb297b1f6caff8d6)(https://www.codacy.com/app/michaelkrukov/textyplot?utm_source=github.com&;utm_medium=推荐&;utm_content=michaelkrukov/textyplot&;utm_campaign=badge_grade)[![构建状态](https://travis-ci.org/michaelkrukov/textyplot.svg?branch=master)(https://travis-ci.org/michaelkrukov/textyplot)[![Codacy徽章](https://api.codacy.com/project/badge/coverage/b61f81c2d568445fb297b1f6caff8d6)(https://www.codacy.com/app/michaelkrukov/textyplot?utm_u source=github.com&;utm_u medium=referral&;utm_u content=michaelkrukov/textyplot&;amp;UTM U Campaign=Badge U Campaign=Badge U Campaign=Badge U Campaign)
>功能
==
=
=
*快速
*简单
*使用Python 3支持缩放和调整视图。
*使用UTF-8()的文本图形
*支持Python3+
>安装
====
>建议使用PIP来安装/更新安装/更新。
<
<
至安装:
````
=
```
导入文本打印
=textyplot.plotter(points,width=80,height=8)
plotter.show(
zoom=true,data=true,border=true,
color=false,fill=true,zero=true,
html=false,stretch=true
plotter.save(“file.txt”,border=true)
html=true)
````
代码示例
===
```
import textyplot
plotter=textyplot.plotter([1,2,3,4,5,3,2,1],width=80)
plotter.show()
plotter=textyplot.plotter(i表示i在范围(100)内)
plotter.show()
```
![结果](/docs/code0.png)
```
import textyplot
plotter=textyplot.plotter((i代表i在范围(100))内,宽度=50)
plotter.show(color=true,fill=false)
``
![结果](/docs/code1.png)
```
import textyplot,math
plotter=textyplot.plotter((math.sin(i/5)*5代表i in range(100)),width=50)
plotter.show(color=true,fill=false)
```
![结果](/docs/code2.png)
```
import textyplot,math
plotter=textyplot.plotter((math.log(i)for i in range(1500)),width=80)
plotter.show(color=true,fill=false)
```
![结果](/DOCS/CODE3.PNG)
‘BR/>导入文本图,随机
BR/>最大值=48 Br/>绘图仪=文本图。绘图仪(
随机。)(最大/ 2 - ABS(最大/ 2 - I))I范围(最大值)
)BR/>绘图仪。显示(颜色=真)
` BR/>![结果](/docs/code4.png)
-帮助显示此帮助消息并退出
-Z,没有缩放缩放图(默认:是)-BR/> -B,没有边框绘制边界(默认:是)-BR/> -D,没有数据绘制值(默认:是)-BR/> -C,没有颜色使用颜色(默认:是)-BR/> -F,没有填充填充图(默认:是)
-G,-没有群绘制零线(默认值:是)
-h,--html渲染为html(默认值:否)
-s,--拉伸点到宽度
-r,--反向点
-x字符,--宽度字符
绘制最大宽度(默认值:80)
-y字符,--高度字符
绘图高度(默认值:8)
```
extyplot``
![示例1](/docs/cmd1.png)
````./bin/random 100 python textyplot-c``
![示例2](/docs/cmd2.png)
````./bin/random 10 python textyplot-x 80```
![示例3](/docs/cmd3.png)
````./bin/random 10 python textyplot-x 80-s```
![示例4](/docs/cmd4.png)
````./bin/random 400 python textyplot```
![示例5](/docs/cmd5.png)
``python./bin/bitcoin.py python textyplot-f 50```
![示例6](/docs/cmd6.png)