Skip to content

Commit

Permalink
Add note about limiting auto scale range
Browse files Browse the repository at this point in the history
Thanks to Sabine Tobolka for discovering this. See
https://groups.google.com/d/msg/pywws/2vsHjjlrr8Q/kAoMMjb-AAAJ

Signed-off-by: Jim Easterbrook <jim@jim-easterbrook.me.uk>
  • Loading branch information
jim-easterbrook committed May 27, 2016
1 parent 73d751e commit 9c4a983
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion src/pywws/Plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# pywws - Python software for USB Wireless Weather Stations
# http://github.com/jim-easterbrook/pywws
# Copyright (C) 2008-15 pywws contributors
# Copyright (C) 2008-16 pywws contributors

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -311,6 +311,12 @@
example, to have the upper value auto scale whilst fixing the lower
value at zero, use ``<yrange>0:*</yrange>``.
Since gnuplot version 4.6 you can set lower and/or upper bounds of the
auto scaled range. The gnuplot syntax for this is ``lo < * < hi``, but
as the plot template is an XML file we need to replace the ``<``
characters with ``&lt;``. For example, if we want the upper value to
always be 20 or more we can use ``<yrange>0:20 &lt; *</yrange>``.
y2range
^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions src/pywws/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '16.04.0'
_release = '1351'
_commit = '8b68e6f'
__version__ = '16.05.0'
_release = '1352'
_commit = '73d751e'

0 comments on commit 9c4a983

Please sign in to comment.