Heatmap Comparing CairoMakie to PyPlot in Julia (2024)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ค. 2024
  • The most annoying problem when visualizing data as heatmaps is the data being flipped or getting reversed/rotated in a strange way when all you want is to create a heatmap that has a one-to-one correspondence with the data matrix.
    In this video will show you how to turn your data arrays into a heatmap image while preserving the original data layout in two easy steps. I will use Julia's CairoMakie plotting library vs Julia's PyPlot (Python Matplotlib), and also show you a way to plot large image matrices more efficiently while preserving the order.
    WATCH NEXT 🎯
    Visualizing Spins in 3D with Julia Language and GLMakie plotting library #plottinginjulia
    • The Most Beautiful 3D ...
    SOCIALS
    📸 Instagram: / itsjuliafrank
    🐦 Twitter (X): / juliaifrank
    🐈‍⬛ GitHub: github.com/ju-pixel
    BLOG
    juliaifrank.com/
    NEWSLETTER
    julias-pages.beehiiv.com/subs...
    Every other week, we'll explore topics such as the wonders of nanomagnetism, coding, and personal growth. Expect honest reflections on balancing life, studies, and the joy of discovery.
    THANKS TO MY LOYAL SUBSCRIBERS!
    🤝 444🤝
    MUSIC
    Worry-free content with Epidemic Sound. 7-day free trial. Cancel anytime!
    www.epidemicsound.com/referra...
    Image credits:
    Heatmap for Timeseries:
    [python-graph-gallery.com/heat... heatmap is a graphical, temperature is mapped to colors](python-graph-gallery.com/heat....
    X-ray heatmap: Figure 1: An example of visual explanation by heatmap for a medical image. Image courtesy of [Rajpurkar et al., 2017].
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @MegaZron
    @MegaZron 14 วันที่ผ่านมา +1

    Hello, can you please share the program

    • @juliaifrank
      @juliaifrank  14 วันที่ผ่านมา

      I believe I have uploaded it to my GitHub profile. But I’ll double check and upload this Jupyter notebook there, if I have not.
      The link to my GitHub should be in this video’s description.

    • @MegaZron
      @MegaZron 14 วันที่ผ่านมา +1

      Thank you!

    • @MegaZron
      @MegaZron 14 วันที่ผ่านมา

      I couldn't find the repository related to heatmaps on your GitHub profile 😅.

    • @juliaifrank
      @juliaifrank  14 วันที่ผ่านมา

      I meant to upload it right after publishing this video. But seems like I forgot…
      Wrapping up my MSc degree makes me keeping hundreds of tabs open simultaneously in my brain .:)

    • @MegaZron
      @MegaZron 14 วันที่ผ่านมา

      @@juliaifrank understandable 😂, I am actually working on Lidar datasets and I want to visualise is using Julia. I am getting trouble in removing the noise from the heatmap. Can we have a google meet?