Example #1
0
    if tmpMaxZ > maxZ:
        maxZ = tmpMaxZ

maxOfMax = max(maxPad)

host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par1 = ParasiteAxes(host, sharey=host)
par2 = ParasiteAxes(host, sharey=host)
host.parasites.append(par1)
host.parasites.append(par2)

host.set_xlabel("PAD ($m^2.m^{-3}$)")
host.set_ylabel("Height (m)")

#par1.set_xlabel("RDI")
par1.set_xlabel("Average number of returns per 10cm cube voxel")

host.axis["top"].set_visible(False)
par1.axis["top"].set_visible(True)
par1.axis["top"].major_ticklabels.set_visible(True)
par1.axis["top"].label.set_visible(True)

#offset = (0, 40)
#new_axisline = par2._grid_helper.new_fixed_axis
#par2.axis["top2"] = new_axisline(loc="top", axes=par2, offset=offset)

fig.add_axes(host)

for i in range(0, len(values)):
    ratio = maxOfMax / maxPad[i]
    #for j in range(0, len(values[i])) :
Example #2
0
maxZ = maxZ - minZ + 2
#minZ = minEffZ


host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par1 = ParasiteAxes(host, sharey=host)   
par2 = ParasiteAxes(host, sharey=host)   
host.parasites.append(par1)
host.parasites.append(par2)

host.set_xlabel("PAD ($m^2.m^{-3}$)")
host.set_ylabel("Height (m)")
host.set_xlim(0, MAX_PAD)

par1.set_xlabel("Average number of returns per 10cm cube voxel")
#par1.set_xlabel("RDI")
par2.set_xlabel("Occusion (%)")

host.axis["top"].set_visible(False)
par1.axis["top"].set_visible(True)
par1.axis["top"].major_ticklabels.set_visible(True)
par1.axis["top"].label.set_visible(True)
#par2.axis["top"].label.set_visible(True)
par1.set_xlim(0,maxVal[2]/maxVal[1]*MAX_PAD)

offset = (0, 40)
new_axisline = par2._grid_helper.new_fixed_axis
par2.axis["top2"] = new_axisline(loc="top", axes=par2, offset=offset)
par2.axis["top2"].set_visible(True)
par2.axis["top2"].major_ticklabels.set_visible(True)
#print(values)
#maxOfMax = max(maxPad)

host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par1 = ParasiteAxes(host, sharey=host)   
par2 = ParasiteAxes(host, sharey=host)   
host.parasites.append(par1)
host.parasites.append(par2)

host.set_xlabel("PAD ($m^2.m^{-3}$)")
host.set_ylabel("Height (m)")

#par1.set_xlabel("RDI")
#par1.set_xlabel("Mean of the number of returns per 10 x 10 x 10 cm voxel")
par1.set_xlabel("Number of returns per 10 x 10 x 10 cm voxel")

host.axis["top"].set_visible(False)
par1.axis["top"].set_visible(True)
par1.axis["top"].major_ticklabels.set_visible(True)
par1.axis["top"].label.set_visible(True)

#offset = (0, 40)
#new_axisline = par2._grid_helper.new_fixed_axis
#par2.axis["top2"] = new_axisline(loc="top", axes=par2, offset=offset)

fig.add_axes(host)

for i in range(0, len(values)) :
    #ratio = maxOfMax / maxPad[i]
    #for j in range(0, len(values[i])) :
    if tmpMinZ < minZ:
        minZ = tmpMinZ

    if tmpMaxZ > maxZ:
        maxZ = tmpMaxZ

maxOfMax = max(maxPad)

host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par2 = ParasiteAxes(host, sharey=host)
host.parasites.append(par2)

host.set_xlabel("PAD ($m^2.m^{-3}$)")
host.set_ylabel("Height (m)")

par2.set_xlabel("Points")
new_axisline = par2._grid_helper.new_fixed_axis
par2.axis["top"] = new_axisline(loc="top", axes=par2)
fig.add_axes(host)

for i in range(0, len(values)):
    ratio = maxOfMax / maxPad[i]
    #for j in range(0, len(values[i])) :
    #    values[i][j] = values[i][j] * ratio
    if i < len(values) - 1:
        host.plot(values[i],
                  zcs[i],
                  label=os.path.splitext(os.path.basename(filenames[i +
                                                                    1]))[0])
    else:
        par2.plot(values[i],
Example #5
0
    if tmpMaxZ > maxZ:
        maxZ = tmpMaxZ

maxOfMax = max(maxPad)

host = HostAxes(fig, [0.15, 0.1, 0.65, 0.8])
par1 = ParasiteAxes(host, sharey=host)   
par2 = ParasiteAxes(host, sharey=host)   
host.parasites.append(par1)
host.parasites.append(par2)

host.set_xlabel("PAD ($m^2.m^{-3}$)")
host.set_ylabel("Height (m)")

par1.set_xlabel("RDI")
par2.set_xlabel("Points")

host.axis["top"].set_visible(False)
par1.axis["top"].set_visible(True)
par1.axis["top"].major_ticklabels.set_visible(True)
par1.axis["top"].label.set_visible(True)

offset = (0, 40)
new_axisline = par2._grid_helper.new_fixed_axis
par2.axis["top2"] = new_axisline(loc="top", axes=par2, offset=offset)

fig.add_axes(host)

for i in range(0, len(values)) :
    ratio = maxOfMax / maxPad[i]