@@ -174,7 +174,7 def set_linedata(ax, x, y, idline): | |||
|
174 | 174 | |
|
175 | 175 | def pline(iplot, x, y, xlabel='', ylabel='', title=''): |
|
176 | 176 | |
|
177 |
ax = iplot. |
|
|
177 | ax = iplot.axes | |
|
178 | 178 | |
|
179 | 179 | printLabels(ax, xlabel, ylabel, title) |
|
180 | 180 | |
@@ -245,7 +245,7 def createPcolor(ax, x, y, z, xmin, xmax, ymin, ymax, zmin, zmax, | |||
|
245 | 245 | def pcolor(imesh, z, xlabel='', ylabel='', title=''): |
|
246 | 246 | |
|
247 | 247 | z = z.T |
|
248 |
ax = imesh. |
|
|
248 | ax = imesh.axes | |
|
249 | 249 | printLabels(ax, xlabel, ylabel, title) |
|
250 | 250 | imesh.set_array(z.ravel()) |
|
251 | 251 | |
@@ -326,7 +326,7 def createPmultiline(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='', tit | |||
|
326 | 326 | |
|
327 | 327 | def pmultiline(iplot, x, y, xlabel='', ylabel='', title=''): |
|
328 | 328 | |
|
329 |
ax = iplot. |
|
|
329 | ax = iplot.axes | |
|
330 | 330 | |
|
331 | 331 | printLabels(ax, xlabel, ylabel, title) |
|
332 | 332 | |
@@ -403,7 +403,7 def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='' | |||
|
403 | 403 | |
|
404 | 404 | def pmultilineyaxis(iplot, x, y, xlabel='', ylabel='', title=''): |
|
405 | 405 | |
|
406 |
ax = iplot. |
|
|
406 | ax = iplot.axes | |
|
407 | 407 | |
|
408 | 408 | printLabels(ax, xlabel, ylabel, title) |
|
409 | 409 | |
@@ -425,7 +425,7 def createPolar(ax, x, y, | |||
|
425 | 425 | # ax.text(0, -110, ylabel, rotation='vertical', va ='center', ha = 'center' ,size='11') |
|
426 | 426 | # ax.text(0, 50, ylabel, rotation='vertical', va ='center', ha = 'left' ,size='11') |
|
427 | 427 | # ax.text(100, 100, 'example', ha='left', va='center', rotation='vertical') |
|
428 |
ax.yaxis.labelpad = |
|
|
428 | ax.yaxis.labelpad = 40 | |
|
429 | 429 | printLabels(ax, xlabel, ylabel, title) |
|
430 | 430 | iplot = ax.lines[-1] |
|
431 | 431 | |
@@ -449,7 +449,7 def createPolar(ax, x, y, | |||
|
449 | 449 | |
|
450 | 450 | def polar(iplot, x, y, xlabel='', ylabel='', title=''): |
|
451 | 451 | |
|
452 |
ax = iplot. |
|
|
452 | ax = iplot.axes | |
|
453 | 453 | |
|
454 | 454 | # ax.text(0, -110, ylabel, rotation='vertical', va ='center', ha = 'center',size='11') |
|
455 | 455 | printLabels(ax, xlabel, ylabel, title) |
General Comments 0
You need to be logged in to leave comments.
Login now