Skip to content

Commit

Permalink
Modifications :
Browse files Browse the repository at this point in the history
	- update README file
	- enable screenshot function from the library
  • Loading branch information
nicolasmoreau committed Feb 13, 2018
1 parent b3e43d0 commit 3c2b2de
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 24 deletions.
25 changes: 4 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,18 @@ The plot is displayed in an html page, using Highcharts js library.
Execution
---------

Generates index.html file :
python extract.py

Open index.html with a web browser
Load up to two data file in Hitran format from the interface


Configuration
--------------

The plot configuration is done through variables at the top of
extract.py script

- Maximum number of points plotted :
max_plotted_points = 1000

- X axis scale ( logarithmic or left empty ) :
xaxis_type = ''

- Y axis scale ( logarithmic or left empty ) :
yaxis_type = ''

Data
-----

Data files must be in Hitran format
It is mandatory to have two files in the data directory, their names
must end with ".txt".

The part of the name before ".txt" will be used s title of the charts.
They must be loaded from a file available from the file system.

The name of the file will be used as a title of the graph.



2 changes: 0 additions & 2 deletions standalone/data.js

This file was deleted.

3 changes: 2 additions & 1 deletion standalone/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<link rel="stylesheet" type="text/css" href="./css/style.css">
<script src = "./js/jquery.min.js">
</script>
<script src = "./js/highcharts.js"></script>
<script src = "./js/highcharts.js"></script>
<script src="./js/exporting.js"></script>

</head>

Expand Down
26 changes: 26 additions & 0 deletions standalone/js/exporting.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c2b2de

Please sign in to comment.