Thu, 16 Nov 2006

Python_Gnuplot_PlotItems_Data_axis_vs._axes

In Gnuplot to set different y-axis scaling left and right:
gnuplot> 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?

posted at 22:42 | path: /unix | permanent link to this entry

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.