Not gonna lie, I was watching this video just for casual enjoyment, but I've come back to reference this more than a dozen times. Cannot thank you enough for providing both entertaining and informative content. Thanks!!
Thank you Andrew! Enjoy all of your videos, but the Python vids are great because you provide ideas on how to present different types of data and/or functions. Thank you for all that you do!
Im not sure if this works in seaborn, but in matlab and other languages (i think is pretty standard) you should pass, x,y and z to the plotter. That way you dont need to invert your y axis, and your x and y ticks would go from 1 to 10. Right now you are plotting z_ij against i and j. That makes your j axis to go in the wrong direction and also makes your x and y ticks go from 1 to 100
OMG thank you so much!!!!! i havent even started the video (ive seen one min ) and im so happy already !! amazing. edit after seeing the video, i would have liked to know how to do the heat graph for different data set, like a given z for some X,Y like in a measurement instead of just an f(x,y)... but thanks anyway
hey it was a really nice video and I am working on the same project but I want to interface with the sensor by taking sensor value and giving a heat map
I have a question.... Since x and y were defined from 0 to 10 im 100 steps, in the final heat plot the axis ticks should range from 0 to 10. But they aren't, rather they are ranging from 0 to 100 which is the steps we took, but that's not right.... I want to change it... How can I?
Lib seaborn is good for colourmaps and colour map definitions here BUT Seems like seaborn doesn't do negative axes. All linspace is positive. Use coutourf in plt as plt.contourf(x,y,z, cmap='RdGy'). #add colour map using cmap plt.colourbar() #add color bar
I have problems with numbering the axes properly. This just show the number equal to the index of the element in the array. When I draw a 2d graph, where the x-axis is time, I usually have a linear array (e.g. "t = np.linspace(0, 10, 100)"), that gives the values of the x-axis. Would it be possible to draw a heatmap where the axis values are named similarly? Ideally, I imagine something like: "x = np.linspace(0, 10, 100) y = np.linspace(0, 200) z = a two dimentional array with data sb.heatmap(x, y, z)" I'm a beginner, so I don't know how to word this properly and I would suggest it to Seaborn's gitHub, if I knew how to. Do you guys understand what I'm asking for?
Can anyone tell.. How to draw contour plot with 3 data variable independent I means I don't have z function in x y, instead of that I have x y z all values.. Can anyone tell how to plot contour with that.?? I am just finding all exmple withz function
Tensor transform law is a good place to start, I assume you did the earlier stuff in Vector Calc. You can skip some of the example vids, he goes a little overkill on them some times. ua-cam.com/video/3PvVGSQB_ik/v-deo.html
The transformation (of a gradient in that case) from one coordinate system to another is called "general covariance", in the case of a vector that means magnitude and direction are preserved. This concept generalizes to any Rank Tensor and its what completely defines an object as being a Tensor. In the next 2 videos he introduces how contravariant objects must transform to be Tensors. You can actually derive quite a few Tensors (from GR) and operators from the fact that they must abide by that transformation law.
Not gonna lie, I was watching this video just for casual enjoyment, but I've come back to reference this more than a dozen times. Cannot thank you enough for providing both entertaining and informative content. Thanks!!
You are a rockstar. Promise me you won't forget us when you become a big famous theoretician.
1337master can't wait to watch Cosmos with Andrew Dotson
this is so underrated holy shit
This saved my dissertation thank you, was trying to plot the Coulomb blockade for a simulation and couldn't figure out how it worked
Thank you so much! This is such a useful video. The heat map tutorials on Google are indeed overwhelming. Yours is the best!
Thank you Andrew! Enjoy all of your videos, but the Python vids are great because you provide ideas on how to present different types of data and/or functions. Thank you for all that you do!
UA-cam title should be: "How Ben Afflect uses Python to plot Heat Maps". 😋 Like your videos Andrew.
Thanks! More python vids pls!
Yayyyyy, love the teacher Andrew , don't fortget us when you get to be up there in top of the world
Awesome video about interactive plotting in Python. Thanks for this!
This was grwat. I'll have to have a rummage in ipywidgets to see what's on offer. Cheers!
Great video! Thanks for helping me learn how to use interactive plots and heat maps :)
Im not sure if this works in seaborn, but in matlab and other languages (i think is pretty standard) you should pass, x,y and z to the plotter. That way you dont need to invert your y axis, and your x and y ticks would go from 1 to 10. Right now you are plotting z_ij against i and j. That makes your j axis to go in the wrong direction and also makes your x and y ticks go from 1 to 100
OMG thank you so much!!!!! i havent even started the video (ive seen one min ) and im so happy already !! amazing.
edit after seeing the video, i would have liked to know how to do the heat graph for different data set, like a given z for some X,Y like in a measurement instead of just an f(x,y)... but thanks anyway
Really nice. Learnt many things
programer:
def function_activationTtipeError_increase(x, y):
phisycist:
def f(x, y):
nice tutorial
a king
Good content for a short video. Any recommendations for 2D/3Dplane wave geometry?
hey it was a really nice video and I am working on the same project but I want to interface with the sensor by taking sensor value and giving a heat map
I have a question.... Since x and y were defined from 0 to 10 im 100 steps, in the final heat plot the axis ticks should range from 0 to 10. But they aren't, rather they are ranging from 0 to 100 which is the steps we took, but that's not right.... I want to change it... How can I?
Sir can you please help me out with this
Or anyone who knows, please help me
I copied this exact code in Spyder and Jupiter Notebook and I can't get the slider :(
Any reasons why this doesn't work in Spyder? Thank you
Lib seaborn is good for colourmaps and colour map definitions here BUT
Seems like seaborn doesn't do negative axes.
All linspace is positive. Use coutourf in plt as plt.contourf(x,y,z, cmap='RdGy'). #add colour map using cmap
plt.colourbar() #add color bar
I was only able to view the graph by creating plt.show ().
I did it on pydroid and IDLE. What happened in my case?
This is really great! Can you include a link to the code? Also for some reason when I try this, I don't get any sliders...
i have a little question
For example, if i need to put a matrix with some data, How can i do that?
I really need you help
MAAAAAAAANY-MAAAAAAAAAAAANY Thanks !!!
I'm using pycharm, how can I get this to plot? It seems to just run.
I have problems with numbering the axes properly. This just show the number equal to the index of the element in the array. When I draw a 2d graph, where the x-axis is time, I usually have a linear array (e.g. "t = np.linspace(0, 10, 100)"), that gives the values of the x-axis.
Would it be possible to draw a heatmap where the axis values are named similarly?
Ideally, I imagine something like:
"x = np.linspace(0, 10, 100)
y = np.linspace(0, 200)
z = a two dimentional array with data
sb.heatmap(x, y, z)"
I'm a beginner, so I don't know how to word this properly and I would suggest it to Seaborn's gitHub, if I knew how to. Do you guys understand what I'm asking for?
Can you suggest a method of plotting a 3D interactive plot this way? f(x,y,z) having a value within a range in a 3D space.
ua-cam.com/video/xd2sZ8rXLZI/v-deo.html
Can you do a video of coding a heat eqn simulator and plotting it in this way?
Pls use Shift+Enter instead of clicking run 😢, vry helpful video
Can anyone tell.. How to draw contour plot with 3 data variable independent I means I don't have z function in x y, instead of that I have x y z all values.. Can anyone tell how to plot contour with that.?? I am just finding all exmple withz function
How i can export this to .tiff ?
Why there isn't super like button?
Thank you.
Yes
where are the tensors vids? :/
Tensor transform law is a good place to start, I assume you did the earlier stuff in Vector Calc. You can skip some of the example vids, he goes a little overkill on them some times. ua-cam.com/video/3PvVGSQB_ik/v-deo.html
x17 Exeventien I'm confused, what exactly is he talking about in those vids?
The transformation (of a gradient in that case) from one coordinate system to another is called "general covariance", in the case of a vector that means magnitude and direction are preserved. This concept generalizes to any Rank Tensor and its what completely defines an object as being a Tensor. In the next 2 videos he introduces how contravariant objects must transform to be Tensors. You can actually derive quite a few Tensors (from GR) and operators from the fact that they must abide by that transformation law.
x17 Exeventien damn but thanks for the explanation, I'll watch the next vids in series to understand more :)
Wers mah tenser calc dood?!? :P
Yes can I have a shout out
How do I change the colormap?
1:28
Why a pink frame? Is that your favourite colour?
if hotter:
make more red
The facecam is a bit too big imo, and also the frame around it is too thick.
>> disp(['MATLAB ', num2str(4), ' lyffffeee']);
This video has been uploaded 4 years ago...4 years of my life wasted