Skip to content

Commit

Permalink
vcs exmaples
Browse files Browse the repository at this point in the history
  • Loading branch information
YvZheng committed Dec 10, 2019
1 parent 577791a commit 4270a4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ Plotting VCS
```
from pycwr.draw.VerticalSectionPlot import VerticalSection
vcs = VerticalSection(PRD)
vcs.section((6500, -27344), (16000, -120000), "dBZ") # (start_x, start_y), (end_x, end_y) units:meters
vcs.section((0,0), (150, 0), "dBZ", (0, 10)) # (start_x, start_y), (end_x, end_y) units:km
plt.show()
```
![avatar](examples/vcs.png)

Launch Graphical interface to show Radar Data
----------
Expand Down
4 changes: 3 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ plt.show()
```
from pycwr.draw.VerticalSectionPlot import VerticalSection
vcs = VerticalSection(PRD)
vcs.section((6500, -27344), (16000, -120000), "dBZ") # (start_x, start_y), (end_x, end_y) units:meters
vcs.section((0,0), (150, 0), "dBZ", (0, 10)) # (start_x, start_y), (end_x, end_y) units:meters
plt.show()
```

![avatar](examples/vcs.png)

启动图形化界面
----------

Expand Down

0 comments on commit 4270a4c

Please sign in to comment.