Matplotlib Scatter Plots | Creating Scatter Plots with Python for Data Science and Geoscience

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 25

  • @kuldipdhokiya7733
    @kuldipdhokiya7733 3 года назад +2

    one of the best yt channel for petroleum students

  • @azwanone2669
    @azwanone2669 Год назад

    absolutely enjoy these videos! thanks for sharing!

  • @joguns8257
    @joguns8257 Месяц назад

    Superb teaching

  • @faizalimuhammadzoda4731
    @faizalimuhammadzoda4731 2 года назад

    Thanks for such a clear exaplanation. Keep up the good work.

  • @SweetPeachannel
    @SweetPeachannel 2 года назад +2

    Please share the video about the explanation reading the scatter plot and pairplot, because I still confuse how to read the plot, the correlation and relationships for each dot!

  • @hichemsevran
    @hichemsevran 3 года назад +1

    Thank you so much for makinf this videos available, Can't wait for the fourth Tutorial for displaying Core data, there's codes that i didn't understand much especially the polyfit code line, I think it's M.L.

    • @AndyMcDonald42
      @AndyMcDonald42  3 года назад +2

      You are welcome! I will be covering that one in a future video.

    • @hichemsevran
      @hichemsevran 3 года назад

      @@AndyMcDonald42 and I will stay tuned for it, Have a nice day, sir. 😊

  • @davidlimamorales1153
    @davidlimamorales1153 2 года назад

    I really appreciate what you are doing, i was thinking how to aproach oil engineering to data visualization and also ML models, you make it easier, and interesting. Thank you!!!

  • @petroali6412
    @petroali6412 3 года назад +1

    Hi sir,
    I know you , you are working in Lloyd's Register. I really enjoyed your papers. you are best sir . keep it up ... sir

    • @AndyMcDonald42
      @AndyMcDonald42  3 года назад +1

      Thank you petro Ali, I am glad you enjoyed the video and the papers.

  • @kamimassi706
    @kamimassi706 9 месяцев назад

    thanks for the video
    please how can I get the Scatter Plots for two (y) axes
    Thank you for your time

  • @boi_ratie
    @boi_ratie 3 года назад +1

    Good Day Sir, I have a csv file and am wondering how do I save it as a LAS file, since i see you read a LAS file as your data input.

    • @AndyMcDonald42
      @AndyMcDonald42  3 года назад

      This should be possible, but it will require a little bit of manual work. I would recommend having a look at the documentation on building a LAS file from scratch at the link below. It may be possible to do it from a pandas dataframe, but you should be able to do it from a numpy array as per the example.
      I will add this onto my list of videos to make as this would be a good topic to cover.
      lasio.readthedocs.io/en/latest/building.html

  • @karendiaz5540
    @karendiaz5540 3 года назад

    Thanks for this video. It’s possible to built the Gamma Ray bar custom colours instead of picking the rainbow? For example make low GR values in yellow and high brown?

    • @AndyMcDonald42
      @AndyMcDonald42  3 года назад +1

      Hi Karen, you certainly can make your own colourmaps. I can cover that in a future video if it is of interest? But in the meantime, I would recommend using the existing "YlOrBr" colour map, which is one I have used numerous times for the GR shading. You can find a full list here: matplotlib.org/2.0.2/examples/color/colormaps_reference.html
      For a custom map, you could use:
      import matplotlib
      cmap = matplotlib.colors.LinearSegmentedColormap.from_list("", ["yellow","orange","brown"])

  • @sadockjosephat1896
    @sadockjosephat1896 3 года назад

    Thanks for this. I was wondering how to change the shapes if you have many symbols.

    • @sadockjosephat1896
      @sadockjosephat1896 3 года назад

      If anyone knows kindly assist

    • @AndyMcDonald42
      @AndyMcDonald42  3 года назад

      Symbols can be changed using the marker argument in plt.scatter
      If you want to change the marker based on a category, you could follow the suggestion here: stackoverflow.com/questions/44802561/python-plot-scatter-plot-with-category-and-markersize
      It involves a bit more code and looping through the categories after you have applied groupby to the dataframe.

  • @sebastianmartinez2751
    @sebastianmartinez2751 3 года назад

    great!!