Profile

Join date: May 16, 2022

About

R C C Designs Reinforced Concrete Structures Dr B C Punmia Ashok Kr Jain Arun Kr Jain Rapidshar





Download









R C C Designs Reinforced Concrete Structures Dr B C Punmia Ashok Kr Jain Arun Kr Jain Rapidshar


. Published by Laxmi Publications (P) Ltd., New Delhi (2015). ISBN 10: 8131809420 ISBN 13: 9788131809426 . Category:Rcc designsQ: How to make a 3D plot, but only show a quarter of the surface I have the following 3D plot that has a lot of useless information that I don't need and it would be nice to be able to make a 2D version of it showing only a quarter of the surface. import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 1, 100) y = np.linspace(0, 1, 100) z = np.linspace(0, 1, 100) plt.figure(figsize=(12, 5)) plt.contourf(x, y, z) plt.colorbar() plt.show() I was wondering if it is possible to only show a quarter of the surface as a 2D plot, where I have the top left and bottom right as the surface area to show the data? A: In general, you can get a projection of the 3D data, and then simply plot that projection. Consider using matplotlib.projection to get a viewport from a given point (e.g. projected point). For instance, you can make a projection of x/4 with x in the domain range [0,1]. Then plot the projection and apply it to the full domain, after offsetting. import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D from mpl_toolkits.mplot3d.art3d import PerspectiveCamera x = np.linspace(0, 1, 100) y = np.linspace(0, 1, 100) z = np.linspace(0, 1, 100) fig = plt.figure(figsize=(12, 5)) ax = fig.add_subplot(111, projection='3d') p = PerspectiveCamera(elev=30, azim=40, ex=1, ey=1, angle=40) ax.add_artist(









R C C Free Nulled Latest License


be359ba680





 

R C C Designs Reinforced Concrete Structures Dr B C Punmia Ashok Kr Jain Arun Kr Jain Rapidshar

More actions