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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 24

  • @kuldipdhokiya7733
    @kuldipdhokiya7733 3 ปีที่แล้ว +2

    one of the best yt channel for petroleum students

  • @SweetPeachannel
    @SweetPeachannel ปีที่แล้ว +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!

  • @azwanone2669
    @azwanone2669 ปีที่แล้ว

    absolutely enjoy these videos! thanks for sharing!

  • @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. 😊

  • @faizalimuhammadzoda4731
    @faizalimuhammadzoda4731 2 ปีที่แล้ว

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

  • @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 6 หลายเดือนก่อน

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

  • @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!!!

  • @boi_ratie
    @boi_ratie 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

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

    • @sadockjosephat1896
      @sadockjosephat1896 2 ปีที่แล้ว

      If anyone knows kindly assist

    • @AndyMcDonald42
      @AndyMcDonald42  2 ปีที่แล้ว

      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!!