File:Affine connection example.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 1,000 × 1,000 pixels, file size: 101 KB)

    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: The metric is ds2 = dr2 + dθ2. The red vector field Y sends dθ to r, and the blue vector field X sends dr to 1. Thus ∇YX=0. The red vector field in gives ∇XY here.
    Date
    Source Own work
    Author IkamusumeFan
    Other versions
    SVG development
    InfoField
     The SVG code is valid.
     This plot was created with gnuplot.
     This plot uses embedded text/digits.
    Source code
    InfoField

    Gnuplot code

    # Author: Ika
    # Date: 12/31/2014
    
    set term svg font 'Times, 18' size 1000,1000
    set output 'affine_conn_eg.svg'
    
    set size ratio 1
    set xrange [-1.5:1.5]
    set yrange [-1.5:1.5]
    # Unit along the axes
    set xtics 1
    set ytics 1
    unset grid
    
    unset label
    set key off
    
    # The following block shows the red vector field.
    # j stands for a different radius r
    do for [j=1:25] {
    r = 2/25.0*j
    # i stands for a different angle \theta
    do for [i=1:50] {
    theta = 2*pi/50.0*(i-1)
    set arrow j*50+i from r*cos(theta), r*sin(theta) to r*(cos(theta)-0.5*sin(theta)), r*(sin(theta)+0.5*cos(theta)) lw 1 lc rgb "red"
    }
    }
    
    # The following block shows the blue vector field.
    # j stands for a different radius r
    do for [j=1:10] {
    r = 2/10.0*j
    # i stands for a different angle \theta
    do for [i=1:50] {
    theta = 2*pi/50.0*(i-1)
    set arrow j*50+i+2000 from r*cos(theta), r*sin(theta) to (r+0.1)*cos(theta), (r+0.1)*sin(theta) lw 1 lc rgb "blue"
    }
    }
    
    # To show the arrows, I have to plot something. So I choose a trivial zero function.
    set parametric
    plot 0,0 lw 1 lc rgb "rgb"
    
    set term x11
    set output
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    31 December 2014

    image/svg+xml

    48660aa4025355bd67b31f7d026666758faaed82

    103,684 byte

    1,000 pixel

    1,000 pixel

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current23:15, 31 December 2014Thumbnail for version as of 23:15, 31 December 20141,000 × 1,000 (101 KB)wikimediacommons>IkamusumeFanUser created page with UploadWizard

    There are no pages that use this file.