Stack multiple surface plot together - Showing metal sheet lying on one anotherShowing the stack trace from a running Python applicationsurface plots in matplotlibCombining scatter plot with surface plotSeaborn plots not showing upStacking multiple plots together with a single x-axisAdding legend to a surface plotmatplotlib 3d surface plots not showingPlotting a line and surface together with correct occlusionPlot surfaces on a cubeSurface plot with multiple polynomial fits
Should I hide continue button until tasks are completed?
Magnitude of vector quantities
How can I check type T is among parameter pack Ts... in C++?
How well known and how commonly used was Huffman coding in 1979?
Is this the golf ball that Alan Shepard hit on the Moon?
MH370 blackbox - is it still possible to retrieve data from it?
How should I behave to assure my friends that I am not after their money?
When is it ok to add filler to a story?
Confusion about multiple information Sets
Dold-Kan correspondence in the category of symmetric spectra
Articles before "covenant"?
Can a US president have someone sent to prison?
Correct spacing in the alignat*-environment
Intuitively, why does putting capacitors in series decrease the equivalent capacitance?
Why does the A-4 Skyhawk sit nose-up when on ground?
Pronunciation of "œuf" in "deux œufs kinder" and "bœuf "in "deux bœufs bourguignons" as an exception to silent /f/ in the plural
Prof. Roman emails his Class this unusual Math Quiz ahead of
How can I create ribbons like these in Microsoft word 2010?
How to determine what is the correct level of detail when modelling?
If my Scout rogue has used his full movement on his turn, can he later use the reaction from the Skirmisher feature to move again?
Bash echo $-1 prints hb1. Why?
What happens when your group is victim of a surprise attack but you can't be surprised?
Should I tell my insurance company I have an unsecured loan for my new car?
Did Chinese school textbook maps (c. 1951) "depict China as stretching even into the central Asian republics"?
Stack multiple surface plot together - Showing metal sheet lying on one another
Showing the stack trace from a running Python applicationsurface plots in matplotlibCombining scatter plot with surface plotSeaborn plots not showing upStacking multiple plots together with a single x-axisAdding legend to a surface plotmatplotlib 3d surface plots not showingPlotting a line and surface together with correct occlusionPlot surfaces on a cubeSurface plot with multiple polynomial fits
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Plot Sheet metal coil stacked one above other
I have figured out how to create one sheet metal coil now I need to stack one above other
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
L = 100
h= 0.5
r= 20
R = np.sqrt((L*h)/(np.pi)+r**r)
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
xpoints=[]
ypoints=[]
for theta in np.linspace(0,r,L):
xpoints.append(1.1*theta*np.cos(theta))
ypoints.append(1.1*theta*np.sin(theta))
z = np.linspace(0,L)
theta, z = np.meshgrid(theta, z)
cyl= ax.plot_surface(xpoints,ypoints,z, rstride=1, cstride=1, linewidth=0, antialiased=True,zorder = 0.5)
This will plot a Coil like cylinder
What I need:

I need to plot these one beside other may be 5 or 10 depicted what is there in Image 2
python matplotlib
add a comment |
Plot Sheet metal coil stacked one above other
I have figured out how to create one sheet metal coil now I need to stack one above other
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
L = 100
h= 0.5
r= 20
R = np.sqrt((L*h)/(np.pi)+r**r)
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
xpoints=[]
ypoints=[]
for theta in np.linspace(0,r,L):
xpoints.append(1.1*theta*np.cos(theta))
ypoints.append(1.1*theta*np.sin(theta))
z = np.linspace(0,L)
theta, z = np.meshgrid(theta, z)
cyl= ax.plot_surface(xpoints,ypoints,z, rstride=1, cstride=1, linewidth=0, antialiased=True,zorder = 0.5)
This will plot a Coil like cylinder
What I need:

I need to plot these one beside other may be 5 or 10 depicted what is there in Image 2
python matplotlib
add a comment |
Plot Sheet metal coil stacked one above other
I have figured out how to create one sheet metal coil now I need to stack one above other
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
L = 100
h= 0.5
r= 20
R = np.sqrt((L*h)/(np.pi)+r**r)
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
xpoints=[]
ypoints=[]
for theta in np.linspace(0,r,L):
xpoints.append(1.1*theta*np.cos(theta))
ypoints.append(1.1*theta*np.sin(theta))
z = np.linspace(0,L)
theta, z = np.meshgrid(theta, z)
cyl= ax.plot_surface(xpoints,ypoints,z, rstride=1, cstride=1, linewidth=0, antialiased=True,zorder = 0.5)
This will plot a Coil like cylinder
What I need:

I need to plot these one beside other may be 5 or 10 depicted what is there in Image 2
python matplotlib
Plot Sheet metal coil stacked one above other
I have figured out how to create one sheet metal coil now I need to stack one above other
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
L = 100
h= 0.5
r= 20
R = np.sqrt((L*h)/(np.pi)+r**r)
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
xpoints=[]
ypoints=[]
for theta in np.linspace(0,r,L):
xpoints.append(1.1*theta*np.cos(theta))
ypoints.append(1.1*theta*np.sin(theta))
z = np.linspace(0,L)
theta, z = np.meshgrid(theta, z)
cyl= ax.plot_surface(xpoints,ypoints,z, rstride=1, cstride=1, linewidth=0, antialiased=True,zorder = 0.5)
This will plot a Coil like cylinder
What I need:

I need to plot these one beside other may be 5 or 10 depicted what is there in Image 2
python matplotlib
python matplotlib
edited Mar 25 at 11:49
DavidG
12.2k11 gold badges37 silver badges45 bronze badges
12.2k11 gold badges37 silver badges45 bronze badges
asked Mar 25 at 11:41
nithinnithin
432 silver badges11 bronze badges
432 silver badges11 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337007%2fstack-multiple-surface-plot-together-showing-metal-sheet-lying-on-one-another%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337007%2fstack-multiple-surface-plot-together-showing-metal-sheet-lying-on-one-another%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown