File:BesselJ.png

From testwiki
Jump to navigation Jump to search
    Original file (1,600 × 1,000 pixels, file size: 185 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: First three Bessel J_n(x) functions plotted over (0,22)
    Date
    Source Own work
    Author Aspir8

    Julia 1.11.0 code

    using GLMakie
    using LaTeXStrings
    using SpecialFunctions
    
    ## plot
    x = range(0,22, 1000)
    
    fig = Figure(size = (800, 500),fontsize=28,linewidth=3,fonts= (; regular = "CMU Serif",bold="CMU Serif"),)
    
    ax = Axis(fig[1, 1], 
    xlabel =L"x",
    ylabel = L"J_{\alpha}(x)",
    ylabelrotation = 0,
    ylabelpadding = -10,
    xticks=0:5:20,
    yticks=-.4:.2:1,)
    
    lines!(ax, x, besselj.(0,x),label=L"J_0(x)")
    lines!(ax, x, besselj.(1,x),label=L"J_1(x)")
    lines!(ax,x,besselj.(2,x),label=L"J_2(x)")
    xlims!(ax,extrema(x)...)
    
    axislegend(ax,orientation=:horizontal,position=:ct)
    hidedecorations!(ax,label=false,ticks=false,ticklabels=false,grid=false)
    fig
    save("bessel.png",fig)
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
    The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

    Captions

    First three Bessel J_n(x) functions plotted over (0,22)

    Items portrayed in this file

    depicts

    9 November 2024

    image/png

    189,093 byte

    1,000 pixel

    1,600 pixel

    f39a5b2f96c1645c108ca99cc216a4734bb567e7

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current20:27, 9 November 2024Thumbnail for version as of 20:27, 9 November 20241,600 × 1,000 (185 KB)wikimediacommons>Aspir8larger label font for mobile

    There are no pages that use this file.