Omg, I'm a 3D modeler, this video means so much to me, thank you! It's a normal distribution represented in 3D, genious!
@KimberlyFessel3 жыл бұрын
Nice 😄-- 3D plots are so much fun!
@vitorrosar32513 жыл бұрын
This is the best video about 3d graphics on matplotlib!!!
@rabinthapa4012 жыл бұрын
Still on the middle of the document, Me studying this, I already admire it through all dimension. Thank you
@vitorribeirosa Жыл бұрын
Thank you for you videos. They have helped me a lot. Cheers!!!
@stlo03092 жыл бұрын
tysm! never knew 3d plots are possible with matplotlib alone
@victorcouloume68243 жыл бұрын
Thank you so much ! I was looking for an explanation this clear, keep the good work !
@higheloguy90572 жыл бұрын
Great professionally made video. You look great/alive in front of camera
@zakariaabderrahmanesadelao30482 жыл бұрын
Brilliant and clear tutorial, appreciated.
@agustindelpino68982 жыл бұрын
Que grande esta señora. Una capa.
@nothing-yt7nu Жыл бұрын
When I try the interactive thing by adding"%matplotlib notebook", it returns an error that says "No module named 'ipympl'".
@samuelgbashi8969 Жыл бұрын
Great Job. I love your content.
@SumandeepSinghRanamem Жыл бұрын
thank you this was very nicely explained.
@abdullahimuhammad6433 жыл бұрын
very useful. clarity defined this presentation
@KimberlyFessel3 жыл бұрын
Oh thank you! Glad to hear you found it to be clear - cheers!
@matteobarnaba65183 жыл бұрын
Thank you very much for your videos, they are great and very informative. Do you plan to make some video about contours, color maps, etc., as well? Thank you in advance for your reply 🙂
@hazhir38612 жыл бұрын
That was helpful. Thank you for sharing :)
@lucapassani11293 жыл бұрын
Very instructive and enjoyable. Thank you.
@KimberlyFessel3 жыл бұрын
Thanks so much, Luca! Glad you enjoyed it 😄
@gusinthecloud2 жыл бұрын
I really appreciate your video. It's quite helpful
@ayenewyihune2 жыл бұрын
Great video, thank you
@BISWAJITMONDAL-vj3py3 жыл бұрын
How to make two surface plots in 3D with different x & y scales (like twin axis in 2D plots)? ...Thanks!
@卡殿-y1n2 жыл бұрын
Thank you very much!
@prabup31143 жыл бұрын
Very nice hands on. have a query. How to create a surface with x,y,z data points instead of knowing the z equation as a function of x,y.
@KimberlyFessel3 жыл бұрын
Thank you and sure thing! If you already have the values for z, you can just pass them directly into the surface plot; for example, ax.plot_surface(X, Y, Z) where Z contains your values instead of a function result. You'll just want to make sure that X, Y, and Z are all the same shape. Z should be the z-positions at all of your x- and y-grid positions.
@SURAJITHDE Жыл бұрын
Ma'am can we create 3d surface plot by taking a grayscale image as an input
@neelsamshah3 жыл бұрын
Thank you for creating this video. It is very helpful. In some of the code online, I see the following import: from mpl_toolkits import mplot3d. Is this needed? Also, sometimes, people explicitly create a figure using plt.figure and then add axes to the figure: fig = plt.figure(); ax = plt.axes(projection='3d'). When do we need to explicitly use the figure function first?
@KimberlyFessel3 жыл бұрын
Most welcome! Regarding your questions: previous versions of matplotlib required you to explicitly import mplot3d to make a 3D plot. It won't hurt your code, but matplotlib version 3.2.0 or higher no longer requires this. And you can use fig = plt.figure() and then refer to that specific figure if you are creating multiple figures with your code. Really, any time the figure (or axes) you are referring to may be ambiguous.
@thbdf38793 жыл бұрын
Really helpful !!!
@KimberlyFessel3 жыл бұрын
Very glad to hear that - cheers!
@youcefyahiaoui14652 жыл бұрын
Hi Kimberly, Again, thank you so much for the top notch videos you're putting out. I am definitely a fan. Now, often we define the z_line as a real time axis like say I have frequency 1MHz, its period would be 1/f = 1µs, I want to build an axis of 4 periods, I want the z_line to be my time t formed as 0 to 4*T with steps of T/10. Linespace does not work as it's expecting intergers. Can you advise on how to do the same thing as linspace but with float numbers? something that would like linspace(0,T/10,4*T)...
@youcefyahiaoui14652 жыл бұрын
Never mind, Kimberly. I was able to do this using np.arange(min, max, step) utility. Thanks.
@darklee11463 жыл бұрын
excuseme sir, why i try to sketch another equation but the output the the same like your equation 50-x^2-y^2 ?
@shajiwang6 ай бұрын
is it possible to create a scatter 3D plot where the axis form a pyramid ladder chart instead of a cubic shape?
@KimberlyFessel6 ай бұрын
Sure, I don't see why not. You would just want to supply an equation for the pyramid shape instead of the cubic shape I have here in the definition of function_z()... may need a piecewise function to make the edges nice and crisp.
@davidzamora46543 жыл бұрын
How can I enable the "interactivity" mode in Spyder? Is it possible? Excellent video and explanation btw
@KimberlyFessel3 жыл бұрын
Thank you! Unfortunately, I'm not very familiar with Spyder, but it sounds like it is possible to do this based on @HABIBE KABA DIAKITE 's question and comment.
@_MrSivakumaR_3 жыл бұрын
Interactive mode is not available in spyder, I think ! However, you can run the program file from the file explorer, so that a new window opens, which is Interactive 🙂
@themightyquinn1003 жыл бұрын
How do you include scatter data and surface on one plot? I have data points in 3 dimensions and I need to plot a surface that was obtained by B-Spline regression along with the data points.
@tilkesh Жыл бұрын
Thanks
@aditijain65513 жыл бұрын
once u move plot interactively, how to query new angles?
@KimberlyFessel3 жыл бұрын
Hi there - You can still use ax.view_init() even if you have interactive mode on ("%matplotlib notebook"). Just add ax.view_init() under your plot and re-run the cell. This will start the initial position of your figure at the angle you specify.
@habibekabadiakite12183 жыл бұрын
How to make the move on Spyder ?
@KimberlyFessel3 жыл бұрын
Hello there - unfortunately, I'm not too familiar with Spyder and don't have it installed on my machine. I typically test out this code using Jupyter Notebook or Google Colab. Sorry I couldn't help with this one!
@habibekabadiakite12183 жыл бұрын
@@KimberlyFessel Thank you very much, I searched and I found
@shardulnikam93223 жыл бұрын
@@habibekabadiakite1218 Hey, can you please share how to do it in spyder?
@guaishouxiao16232 жыл бұрын
plt.axes(projection="3d"), it says TypeError: 'module' object is not callable. Anyone has the same problem?
@belenmatamoros1078 Жыл бұрын
Te amo
@YM-lm8xr3 жыл бұрын
how to implement plotting a SERIES of 2d spectra(energy vs conductance) into a 3D plot (x=energy, y=uniformly lined up spectra, z=conductance) in Matplotlib?
@KimberlyFessel3 жыл бұрын
Hi there - as long as you have x, y, and z coordinates for each of these components, you can absolutely make a 3D plot for your data. Are your uniform spectra data currently the index of your series? If so, you can pass the dataframe columns and indices directly into the matplotlib plotting methods like scatter3D. For example, if you have a dataframe df with columns like "energy" and "conductance" and your spectra are the indices, you can do ax.scatter3D(df.energy, df.index, df.conductance).
@sethsm72 жыл бұрын
DOES ANYBODY KNOW HOW TO PLOT Y AND Z-AXIS ON LOG SCALES WITHOUT APPLYING A LOG TO THE DATA?? PLEASE AND THANK YOU!!
@LetoTheGodEmperor2 жыл бұрын
You could try ax.set_yscale('log') and ax.set_zscale('log'). Hope it works
@Andrumen01 Жыл бұрын
It's good that matplotlib has 3D options...but still so far from being good...I always feel that it could be better but it never quite gets there. There should be lessons learned from Mathematica. Understandable that Mathematica is paid software, whereas matplolib is "free", but still disappoints a little every time I try to use it.