Changes
Page history
yfournier created page: get started
authored
Feb 15, 2017
by
Yori Fournier
Hide whitespace changes
Inline
Side-by-side
get-started.md
View page @
6bdec7d1
# Summary
1.
[
Install the module mypltemplate
](
https://gitlab.aip.de/yfournier/mypltemplate/wikis/get-started#1-install-the-module-mypltemplate
)
2.
[
Plotting some Examples
](
https://gitlab.aip.de/yfournier/mypltemplate/wikis/get-started#2-plotting-some-examples
)
3.
[
Examples
](
https://gitlab.aip.de/yfournier/mypltemplate/wikis/get-started#3-examples
)
# 1. Install the module mypltemplate
...
...
@@ -187,4 +188,21 @@ containing a canvas.
# Create a window where the figure is shown
win
=
MyWin
(
fig
)
```
This should produce a window on which
`fig`
should be plotted.
\ No newline at end of file
This should produce a window on which
`fig`
should be plotted.
# 3. Examples
## What you just did
```
python
# Import the module
from
mymodule
import
*
# Read some data
run1
=
readRun
(
'
./mymodule/data/serie1/run1.txt
'
)
# Create a figure
fig
=
FigOneAxes3D
((
run1
,),
AxResults
)
# Create a window where the figure is shown
win
=
MyWin
(
fig
)
```
\ No newline at end of file