Thu, 16 Nov 2006
# Python Gnuplot: PlotItems Data axis vs. axes
In Gnuplot to set different y-axis scaling left and right:
plot sin(x) axis x1y1, \
sin(x)**2 axis x1y2
In the Python Gnuplot module you rather use:
g.plot(Gnuplot.Data(x, y1, axes='x1y1'),
Gnuplot.Data(x, y1, axes='x1y2'))
See the little difference? (axis vs. axes)
posted at 22:42 | path: /unix | permanent link to this entry
