Skip to content

Commit

Permalink
Fix problem with plots and gaps for missing data
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Easterbrook <jim@jim-easterbrook.me.uk>
  • Loading branch information
jim-easterbrook committed Oct 12, 2016
1 parent aa707bc commit 632790c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/pywws/Plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ def PlotData(self, plot_no, plot, source):
style = 'smooth unique lc %s lw %g' % (colour, width)
axes = subplot.subplot.get_value('axes', 'x1y1')
title = subplot.subplot.get_value('title', '')
using = ':'.join(str(x) for x in range(1, len(values)+1))
result += u' "%s" using %s axes %s %s title "%s"%s' % (
using = ':'.join('($%d)' % x for x in range(2, len(values)+1))
result += u' "%s" using 1:%s axes %s %s title "%s"%s' % (
subplot.dat_file, using, axes, style, title, whiskerbars)
if subplot_no != subplot_count - 1:
result += u', \\'
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.08.0'
_release = '1362'
_commit = 'ea42101'
__version__ = '16.10.0'
_release = '1363'
_commit = 'aa707bc'

0 comments on commit 632790c

Please sign in to comment.