How to Plot in Julia

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • To plot in Julia, I explain how to install the Plots.jl package. We customize the plots with the use of PlotThemes.jl package to make them beautiful. Plot3d, surface plot, scatter plot, and histograms are explained.
    ---
    Check out our Julia Programming for Beginners playlist:
    • Julia Programming for ...
    ---
    Link the packages used
    github.com/Jul...
    github.com/Jul...
    ---
    🌐 Connect with us:
    🌐 Website: numeryst.com

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

  • @evaldosilva786
    @evaldosilva786 2 месяца назад +1

    Great video. It worked very well in my computer
    I'l see your other videos.

    • @Numeryst
      @Numeryst  2 месяца назад

      Glad it helped!

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

    Very good tutorial, thank you!

    • @Numeryst
      @Numeryst  Год назад +1

      Glad you enjoyed it!

  • @rosenrotcoyohuehuetzin7802
    @rosenrotcoyohuehuetzin7802 5 месяцев назад +1

    Helpful video. There´s a way I can convert a plot into an image and download it as PNG or JPG?

    • @Numeryst
      @Numeryst  5 месяцев назад

      Yes, you can use "savefig" function.

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi 3 месяца назад +1

    What do you do if VScode does not display any image when using Plots?

    • @Numeryst
      @Numeryst  3 месяца назад +1

      There could be several possible reasons, I mention the most probable ones:
      1. When running scripts, explicitly call display() on your plot object. For example:
      using Plots
      p = plot(1:10, rand(10))
      display(p)
      2. Try Different Backends.
      3. Restart VSCode.
      4. Ensure Plot Pane is Enabled:
      Go to the settings in VSCode and make sure that the "Use Plot Pane" option is enabled. This setting allows plots to be displayed directly within the VSCode interface.
      5. Start Julia REPL Correctly:
      Make sure to start Julia using the command Julia: Start REPL from the command palette (Ctrl+Shift+P). Starting it manually from a terminal may not integrate properly with VSCode.

  • @edinetgrunhed6000
    @edinetgrunhed6000 11 месяцев назад

    thanks for this video, is it possible to make Gauge using this lib?

    • @Numeryst
      @Numeryst  11 месяцев назад

      By Gauge, are you referring to Gauge charts?

    • @edinetgrunhed6000
      @edinetgrunhed6000 11 месяцев назад

      with the same library which you are using is it possible to make gauge visualization? or gauge still not supported?@@Numeryst

    • @Numeryst
      @Numeryst  11 месяцев назад

      Plots.jl doesn't have a dedicated gauge chart function, you can achieve similar visualizations with some creativity and its core plotting functionalities.

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

    Do you have a list of what extensions you are using?

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

      For VSCode? For VSCode, I only use Julia VSCode extension.

  • @robertlove2168
    @robertlove2168 11 месяцев назад

    Why do you need vscode? Won't any terminal do?

    • @Numeryst
      @Numeryst  11 месяцев назад

      You can use terminal but that depends on your goals and what you are comfortable with!

  • @NamasenITN
    @NamasenITN 4 месяца назад

    Why doesn't the figure fill the entire width of the plot pane of VSCode?

    • @Numeryst
      @Numeryst  4 месяца назад +1

      You should specify figure size and whether you keep the aspect ratio fixed or not.

    • @NamasenITN
      @NamasenITN 4 месяца назад

      @@Numeryst Thank you and thanks for the video series on Julia.

    • @Numeryst
      @Numeryst  4 месяца назад

      @@NamasenITN You're welcome!

  • @olmzy5812
    @olmzy5812 3 месяца назад

    video is nice, but I copied 3D plot script and it didn`t work :(

    • @Numeryst
      @Numeryst  3 месяца назад

      You probably have not imported the packages properly. I have run the code in the video!

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

    Where could i learn Julia

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

      Here is the link:
      ruclips.net/p/PLLlTVphLQsuM7pZgoQym3VxIbqnz-Uxna

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

      Thank you

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

      @@soyuz3352 You're welcome!

  • @pettymanny6487
    @pettymanny6487 9 месяцев назад +2

    Looks simpler than matplotlib.

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

      Yes, indeed, it is simpler!