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