Heatmap Comparing CairoMakie to PyPlot in Julia (2024)

Поділитися
Вставка
  • Опубліковано 29 вер 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-...
    BLOG
    juliafrank.net/
    juliafrank.net...
    NEWSLETTER
    julia-frank.ck...
    THANKS TO MY LOYAL SUBSCRIBERS!
    🤝 444🤝
    MUSIC
    Worry-free content with Epidemic Sound. 7-day free trial. Cancel anytime!
    www.epidemicso...
    Image credits:
    Heatmap for Timeseries:
    [python-graph-g... heatmap is a graphical, temperature is mapped to colors](python-graph-g....
    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 3 місяці тому +1

    Hello, can you please share the program

    • @juliaifrank
      @juliaifrank  3 місяці тому

      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 3 місяці тому +1

      Thank you!

    • @megazron
      @megazron 3 місяці тому

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

    • @juliaifrank
      @juliaifrank  3 місяці тому

      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 3 місяці тому

      @@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?