@@ -776,7 +776,7 @@ class gnuplotlib has a separate gnuplot process and a plot window. If multiple
776776squarexy are synonyms. In 2D, these are all synonyms. Using any of these in 3D
777777requires Gnuplot >= 4.4
778778
779- - {x,y ,y2,z,cb}{min,max,range,inv}
779+ - {x,x2y ,y2,z,cb}{min,max,range,inv}
780780
781781If given, these set the extents of the plot window for the requested axes.
782782Either min/max or range can be given but not both. min/max are numerical values.
@@ -792,7 +792,7 @@ class gnuplotlib has a separate gnuplot process and a plot window. If multiple
792792The 'cb' axis represents the color axis, used when color-coded plots are being
793793generated
794794
795- - xlabel, ylabel, zlabel, y2label, cblabel
795+ - xlabel, x2label, ylabel, zlabel, y2label, cblabel
796796
797797These specify axis labels
798798
@@ -1141,8 +1141,9 @@ class gnuplotlib has a separate gnuplot process and a plot window. If multiple
11411141 'rgbimage' ,
11421142 'equation' , 'equation_above' , 'equation_below' ,
11431143 'xmax' , 'xmin' , 'xrange' , 'xinv' , 'xlabel' ,
1144- 'y2max ' , 'y2min ' , 'y2range ' , 'y2inv ' , 'y2label ' ,
1144+ 'x2max ' , 'x2min ' , 'x2range ' , 'x2inv ' , 'x2label ' ,
11451145 'ymax' , 'ymin' , 'yrange' , 'yinv' , 'ylabel' ,
1146+ 'y2max' , 'y2min' , 'y2range' , 'y2inv' , 'y2label' ,
11461147 'zmax' , 'zmin' , 'zrange' , 'zinv' , 'zlabel' ,
11471148 'cbmax' , 'cbmin' , 'cbrange' , 'cblabel' ))
11481149
@@ -1388,14 +1389,14 @@ def _massageSubplotOptionsAndGetCmds(subplotOptions):
13881389 cmds = ['set grid' ]
13891390
13901391 # set the curve labels
1391- for axis in ('x' , 'y' , 'y2' , 'z' , 'cb' ):
1392+ for axis in ('x' , 'x2' , ' y' , 'y2' , 'z' , 'cb' ):
13921393 if axis + 'label' in subplotOptions :
13931394 cmds .append ('set {axis}label "{label}"' .format (axis = axis ,
13941395 label = subplotOptions [axis + 'label' ]))
13951396
13961397 # set the plot bounds
13971398 ranges = dict ()
1398- for axis in ('x' , 'y' , 'y2' , 'z' , 'cb' ):
1399+ for axis in ('x' , 'x2' , ' y' , 'y2' , 'z' , 'cb' ):
13991400 # I deal with range bounds here. These can be given for the various
14001401 # axes by variables (W-axis here; replace W with x, y, z, etc):
14011402 #
0 commit comments