I’ve tried installing matplotlib as you commented someone else do but I’m still getting the error “no module named matplotlib”. Any suggestions? On a Mac btw
I think you're asking how to change the dimension of the scale of the plot. But just incase you mean something else, here's a few things you can do: Changing axes limits: plt.ylim(a, b) plt.xlim(c, d) where a and b are your upper and lower limits for the y axes and c and d are the upper and lower limits of the x axes. You assign your own a, b, c and d. If you want to change the size of the figures drawn: Before asking python to plot (plt.plot(x,y)), write this, plt.figure(figsize=(6,6)) Here you can change 6,6 to any number you want but make sure it's not too small or too large because that will mean your plot will be! If neither of those responses help you, comment back and I'll try understand what it is you're wanting! 😊
Good question! R is built as a statistical language and so suits better for statistical learning! Personally, I prefer python but all statistical modules at university are taught using R!
@@CodeoftheFuture Yes, that is also my level of knowledge, but since I've been dealing with Python, I've got the feeling that there is a package for Python for every problem, so that you actually don't need an R anymore. Ty.
I think that's because you have to install it! There's a link below that might help! What computer are you using? Windows, mac...? :) matplotlib.org/3.3.3/users/installing.html
@@deepikasinghal3530 Okay perfect, you can actually install it for the given project you're working on! Go to where it says Pycharm at the top left of your screen, click preferences, click project, then python interpreter and there should be a little + sign. Click that and search for matplotlib, then you can download it! If you're still stuck, I explain how to download a module in this video (around 3:37): ruclips.net/video/JdWeR9bHqTc/видео.html
Very well explained and straight to the point. Love it!
That was very helpful, thx for all
Thank you!
This is very useful!
Thank you! I’m very glad!
This is really cool and informative. Thank you a lot ellie for sharing this with us !
Thank you very much, Manoj!! :)
Very helpful thank you!
useful I am going to try this . Simple and effective for my PhD graphs
you are the best
exactly what I was looking for! simple and basic, yet exotic... you seent them markers?!
Thank you so much!! :)
I’ve tried installing matplotlib as you commented someone else do but I’m still getting the error “no module named matplotlib”. Any suggestions? On a Mac btw
Great thank you ma'am
x and y must have same first dimension, but have shapes (30, 30) and (1,) can you help me how I can solve this problem?
pycharm is telling me the module 'matplotlib' isn't found.. someone please help!
nvm I fixed it :)
16:58 Why is the code still running and hasn't been fully executed?
Because the plot is still showing :) your python code will only stop running once you have crossed off the plot!
@@CodeoftheFuture Understood, ty!
How to create a module
Could anyone tell me how to import the code into my computer
¿Disculpame como hago para cambiar la dimensión de la venta del plot?
I think you're asking how to change the dimension of the scale of the plot. But just incase you mean something else, here's a few things you can do:
Changing axes limits:
plt.ylim(a, b)
plt.xlim(c, d)
where a and b are your upper and lower limits for the y axes and c and d are the upper and lower limits of the x axes. You assign your own a, b, c and d.
If you want to change the size of the figures drawn:
Before asking python to plot (plt.plot(x,y)), write this,
plt.figure(figsize=(6,6))
Here you can change 6,6 to any number you want but make sure it's not too small or too large because that will mean your plot will be!
If neither of those responses help you, comment back and I'll try understand what it is you're wanting! 😊
@@CodeoftheFuture Muchas gracias la verdad me sirvió mucho lo que me dijiste
@@yenref4 I'm glad it was helpful! I'm not too sure what you're asking but if you rephrase it differently, I may be able to help! 😊
Do we actually need the R Project anymore, if Python is so powerful?
Good question! R is built as a statistical language and so suits better for statistical learning! Personally, I prefer python but all statistical modules at university are taught using R!
@@CodeoftheFuture Yes, that is also my level of knowledge, but since I've been dealing with Python, I've got the feeling that there is a package for Python for every problem, so that you actually don't need an R anymore. Ty.
somehow I am getting an error "ModuleNotFoundError: No module named 'matplotlib'"
I think that's because you have to install it! There's a link below that might help! What computer are you using? Windows, mac...? :)
matplotlib.org/3.3.3/users/installing.html
@@CodeoftheFuture I am using mac
@@deepikasinghal3530 Okay perfect, you can actually install it for the given project you're working on! Go to where it says Pycharm at the top left of your screen, click preferences, click project, then python interpreter and there should be a little + sign. Click that and search for matplotlib, then you can download it! If you're still stuck, I explain how to download a module in this video (around 3:37):
ruclips.net/video/JdWeR9bHqTc/видео.html
@@CodeoftheFuture It worked!!! thank you so much :)
@@deepikasinghal3530 no problem at all! Happy to help☺️
but i am getting error that matplotlib.pyplot has no "plot" attribute why?
It might be an error with the installation. Have you installed matplotlib correctly? :)
here is the name of the video that solves your problem guys: FIXED: "ModuleNotFoundError: No module named 'numpy'" | How To Install NumPy In PyCharm
This is really cool and informative. Thank you a lot ellie for sharing this with us !